summary refs log tree commit diff
path: root/bin/ttpre.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--bin/ttpre.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ttpre.c b/bin/ttpre.c
index a0a2f604..b91c416d 100644
--- a/bin/ttpre.c
+++ b/bin/ttpre.c
@@ -24,7 +24,7 @@ static void put(wchar_t ch) {
 		break; case L'&': printf("&");
 		break; case L'<': printf("&lt;");
 		break; case L'>': printf("&gt;");
-		break; default:   printf("%lc", ch);
+		break; default:   printf("%lc", (wint_t)ch);
 	}
 }