Use correct signedness in default implementations of wcscmp and wmemcmp
[glibc.git] / stdio-common / bug15.c
blob825ca2f9801f181936d0582350b891ca64fc2489
1 #include <stdio.h>
2 #include <locale.h>
4 int
5 main (void)
7 char buf[10];
8 setlocale (LC_ALL, "vi_VN.TCVN-5712");
9 return sprintf (buf, "%.*s", 2, "vi") != 2;