check length of TESTuint64

This commit is contained in:
Love Hornquist Astrand
2011-12-12 23:13:47 -08:00
parent 9a4f8c3da7
commit 80fd2959b9

View File

@@ -790,6 +790,12 @@ check_tag_length64(void)
int i, ret, failed = 0;
void *buf;
if (sizeof(TESTuint64) != sizeof(uint64_t)) {
ret += 1;
printf("sizeof(TESTuint64) %d != sizeof(uint64_t) %d\n",
(int)sizeof(TESTuint64), (int)sizeof(uint64_t));
}
for (i = 0; i < sizeof(td)/sizeof(td[0]); i++) {
struct map_page *page;