summaryrefslogtreecommitdiffstats
path: root/source/script
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2003-04-29 03:04:05 +0000
committerAndrew Bartlett <abartlet@samba.org>2003-04-29 03:04:05 +0000
commit0369d4432b9700626b6853dae8c93770bb1bcd59 (patch)
tree355ddc026042ca6703246661324e270b52b9ab7c /source/script
parent5d95309d8ab482e37ce96deb4a278186320e457f (diff)
downloadsamba-0369d4432b9700626b6853dae8c93770bb1bcd59.tar.gz
samba-0369d4432b9700626b6853dae8c93770bb1bcd59.tar.xz
samba-0369d4432b9700626b6853dae8c93770bb1bcd59.zip
Fix for format string warning from vance
Diffstat (limited to 'source/script')
-rw-r--r--source/script/mkbuildoptions.awk16
1 files changed, 8 insertions, 8 deletions
diff --git a/source/script/mkbuildoptions.awk b/source/script/mkbuildoptions.awk
index 391fdf531e0..cdc5bd98813 100644
--- a/source/script/mkbuildoptions.awk
+++ b/source/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): %d\\n\",sizeof(char));";
- print " output(screen, \" sizeof(int): %d\\n\",sizeof(int));";
- print " output(screen, \" sizeof(long): %d\\n\",sizeof(long));";
- print " output(screen, \" sizeof(uint8): %d\\n\",sizeof(uint8));";
- print " output(screen, \" sizeof(uint16): %d\\n\",sizeof(uint16));";
- print " output(screen, \" sizeof(uint32): %d\\n\",sizeof(uint32));";
- print " output(screen, \" sizeof(short): %d\\n\",sizeof(short));";
- print " output(screen, \" sizeof(void*): %d\\n\",sizeof(void*));";
+ 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*));";
##################################################
# add code to give information about modules