diff options
author | Andrew Bartlett <abartlet@samba.org> | 2003-04-29 03:04:05 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2003-04-29 03:04:05 +0000 |
commit | df31340b5d751854545259839ad8d38a95e5efae (patch) | |
tree | bc334ed3b011f7455d2328b01dc35baf9a49827a /source3 | |
parent | 07656d69298dd211c6d602ea35dd3ab532fa6438 (diff) | |
download | samba-df31340b5d751854545259839ad8d38a95e5efae.tar.gz samba-df31340b5d751854545259839ad8d38a95e5efae.tar.bz2 samba-df31340b5d751854545259839ad8d38a95e5efae.zip |
Fix for format string warning from vance
(This used to be commit 0369d4432b9700626b6853dae8c93770bb1bcd59)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/script/mkbuildoptions.awk | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/source3/script/mkbuildoptions.awk b/source3/script/mkbuildoptions.awk index 391fdf531e..cdc5bd9881 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): %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 |