summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gui/DebugMemory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/DebugMemory.c b/gui/DebugMemory.c
index 17b69ecd..e39f4a7b 100644
--- a/gui/DebugMemory.c
+++ b/gui/DebugMemory.c
@@ -64,7 +64,7 @@ static void UpdateMemViewDlg() {
for (i = 0; i < 16; i++) {
buftext[i] = PSXMs8(start + i);
sprintf(bufdata[i], "%.2X", (u8)buftext[i]);
- if (buftext[i] < 32) buftext[i] = '.';
+ if ((s8)buftext[i] < 32) buftext[i] = '.';
}
gtk_list_store_append(store, &iter);