From f95e40197f7d1f882796de9ed83e61d79b21f256 Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Tue, 4 Nov 2003 19:47:40 +0000 Subject: Generate 64-bit clean printf's for build options. (This used to be commit 1814c29b7d5c2ab25f209fba0afb5c6d175a87d1) --- source3/script/mkbuildoptions.awk | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'source3/script') diff --git a/source3/script/mkbuildoptions.awk b/source3/script/mkbuildoptions.awk index cdc5bd9881..e47664add4 100644 --- a/source3/script/mkbuildoptions.awk +++ b/source3/script/mkbuildoptions.awk @@ -242,14 +242,14 @@ END { # add code to display the various type sizes print " /* Output the sizes of the various types */"; print " output(screen, \"\\nType sizes:\\n\");"; - print " output(screen, \" sizeof(char): %u\\n\",sizeof(char));"; - print " output(screen, \" sizeof(int): %u\\n\",sizeof(int));"; - print " output(screen, \" sizeof(long): %u\\n\",sizeof(long));"; - print " output(screen, \" sizeof(uint8): %u\\n\",sizeof(uint8));"; - print " output(screen, \" sizeof(uint16): %u\\n\",sizeof(uint16));"; - print " output(screen, \" sizeof(uint32): %u\\n\",sizeof(uint32));"; - print " output(screen, \" sizeof(short): %u\\n\",sizeof(short));"; - print " output(screen, \" sizeof(void*): %u\\n\",sizeof(void*));"; + print " output(screen, \" sizeof(char): %lu\\n\",sizeof(char));"; + print " output(screen, \" sizeof(int): %lu\\n\",sizeof(int));"; + print " output(screen, \" sizeof(long): %lu\\n\",sizeof(long));"; + print " output(screen, \" sizeof(uint8): %lu\\n\",sizeof(uint8));"; + print " output(screen, \" sizeof(uint16): %lu\\n\",sizeof(uint16));"; + print " output(screen, \" sizeof(uint32): %lu\\n\",sizeof(uint32));"; + print " output(screen, \" sizeof(short): %lu\\n\",sizeof(short));"; + print " output(screen, \" sizeof(void*): %lu\\n\",sizeof(void*));"; ################################################## # add code to give information about modules -- cgit