(main): Avoid warning. Pretty printing.

This commit is contained in:
Ulrich Drepper 2001-08-07 02:44:12 +00:00
parent 245ef8366a
commit dec5e067e8
1 changed files with 9 additions and 8 deletions

View File

@ -10,7 +10,8 @@
int
main (void)
{
int test=0, idx=0;
int test = 0;
int idx = 0;
char buf[100], *pchar;
wchar_t tmp[10];
wchar_t tmp1[] = { L'W', L'o', L'r', L'l', L'd', L'\0' };
@ -19,7 +20,7 @@ main (void)
pchar = setlocale (LC_ALL, "");
printf ("locale : %s\n",pchar);
printf ("MB_CUR_MAX %d\n", MB_CUR_MAX);
printf ("MB_CUR_MAX %Zd\n", MB_CUR_MAX);
puts ("---- test 1 ------");
test = mbstowcs (tmp, str, (strlen (str) + 1) * sizeof (char));