x86-64: change the type of size_t and ptrdiff_t.

size_t and ptrdiff_t should be unsigned long and long, respectively.
This commit is contained in:
Shinichiro Hamaji
2009-07-19 04:26:19 +09:00
committed by grischka
parent 834b782a9c
commit 3a1380120d
2 changed files with 4 additions and 2 deletions

View File

@ -592,6 +592,8 @@ void array_test(int a[4])
printf(" %3d", ((int *)tab2)[i]);
}
printf("\n");
printf("sizeof(size_t)=%d\n", sizeof(size_t));
printf("sizeof(ptrdiff_t)=%d\n", sizeof(ptrdiff_t));
}
void expr_test()