about summary refs log tree commit diff
path: root/stdlib/testmb.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/testmb.c')
-rw-r--r--stdlib/testmb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdlib/testmb.c b/stdlib/testmb.c
index c840ce195b..a70fe08bee 100644
--- a/stdlib/testmb.c
+++ b/stdlib/testmb.c
@@ -53,7 +53,7 @@ main ()
       }
     else
       {
-	printf ("wide value: 0x%04x\n", (unsigned long) wc);
+	printf ("wide value: 0x%04lx\n", (unsigned long) wc);
 	mbc[0] = '\0';
 	if ((r = wctomb (mbc, wc)) <= 0)
 	  {