summaryrefslogtreecommitdiff
path: root/source3/script
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2003-11-04 19:47:40 +0000
committerTim Potter <tpot@samba.org>2003-11-04 19:47:40 +0000
commitf95e40197f7d1f882796de9ed83e61d79b21f256 (patch)
treec09a66ac4f1c26de5754f51516540beefd182420 /source3/script
parentb3b7cf12a07f78f0d8a76a583ac2db2654dd4d63 (diff)
downloadsamba-f95e40197f7d1f882796de9ed83e61d79b21f256.tar.gz
samba-f95e40197f7d1f882796de9ed83e61d79b21f256.tar.bz2
samba-f95e40197f7d1f882796de9ed83e61d79b21f256.zip
Generate 64-bit clean printf's for build options.
(This used to be commit 1814c29b7d5c2ab25f209fba0afb5c6d175a87d1)
Diffstat (limited to 'source3/script')
-rw-r--r--source3/script/mkbuildoptions.awk16
1 files changed, 8 insertions, 8 deletions
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