diff options
Diffstat (limited to 'toys')
-rw-r--r-- | toys/example/demo_utf8towc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/example/demo_utf8towc.c b/toys/example/demo_utf8towc.c index c0522543..136be6ca 100644 --- a/toys/example/demo_utf8towc.c +++ b/toys/example/demo_utf8towc.c @@ -23,7 +23,7 @@ void demo_utf8towc_main(void) wchar_t wc1, wc2; memset(&mb, 0, sizeof(mb)); - for (u=1; u; u++) { + for (u = 1; u<=0x10ffff; u++) { char *str = (void *)&h; wc1 = wc2 = 0; |