summaryrefslogtreecommitdiff
path: root/source3/script
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2003-11-06 22:11:08 +0000
committerTim Potter <tpot@samba.org>2003-11-06 22:11:08 +0000
commit9f154119e8788e9c3525b0a61c64326abd35bdf6 (patch)
tree414bdc61c7c31ec78380466cab989a1c2b814bd3 /source3/script
parent75b246906323a9c6dba6c73041882d4ddebe7577 (diff)
downloadsamba-9f154119e8788e9c3525b0a61c64326abd35bdf6.tar.gz
samba-9f154119e8788e9c3525b0a61c64326abd35bdf6.tar.bz2
samba-9f154119e8788e9c3525b0a61c64326abd35bdf6.zip
Final round of printf warnings fixes for the moment.
(This used to be commit 0519a7022b4979c0e8ddd4907f4b858a59299c06)
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 e47664add4..9c22662310 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): %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*));";
+ print " output(screen, \" sizeof(char): %lu\\n\",(unsigned long)sizeof(char));";
+ print " output(screen, \" sizeof(int): %lu\\n\",(unsigned long)sizeof(int));";
+ print " output(screen, \" sizeof(long): %lu\\n\",(unsigned long)sizeof(long));";
+ print " output(screen, \" sizeof(uint8): %lu\\n\",(unsigned long)sizeof(uint8));";
+ print " output(screen, \" sizeof(uint16): %lu\\n\",(unsigned long)sizeof(uint16));";
+ print " output(screen, \" sizeof(uint32): %lu\\n\",(unsigned long)sizeof(uint32));";
+ print " output(screen, \" sizeof(short): %lu\\n\",(unsigned long)sizeof(short));";
+ print " output(screen, \" sizeof(void*): %lu\\n\",(unsigned long)sizeof(void*));";
##################################################
# add code to give information about modules