From 80fd2959b9670c0ce63cc0c3a9665e96654d426a Mon Sep 17 00:00:00 2001 From: Love Hornquist Astrand Date: Mon, 12 Dec 2011 23:13:47 -0800 Subject: [PATCH] check length of TESTuint64 --- lib/asn1/check-gen.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/asn1/check-gen.c b/lib/asn1/check-gen.c index 44699cab4..2b5403437 100644 --- a/lib/asn1/check-gen.c +++ b/lib/asn1/check-gen.c @@ -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; -- 2.11.4.GIT