summary refs log tree commit diff
path: root/bin/psfed.c
diff options
context:
space:
mode:
Diffstat (limited to 'bin/psfed.c')
-rw-r--r--bin/psfed.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/psfed.c b/bin/psfed.c
index 2eb8275d..3f72816a 100644
--- a/bin/psfed.c
+++ b/bin/psfed.c
@@ -289,7 +289,10 @@ static void normalInc(uint32_t n) {
 }
 static void normalPrint(const char *prefix) {
 	if (normal.index <= 256) {
-		printf("%s: %02X '%lc'\n", prefix, normal.index, CP437[normal.index]);
+		printf(
+			"%s: %02X '%lc'\n",
+			prefix, normal.index, (wint_t)CP437[normal.index]
+		);
 	} else {
 		printf("%s: %02X\n", prefix, normal.index);
 	}