diff options
author | Jeremy Allison <jra@samba.org> | 2006-06-16 01:47:02 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:17:31 -0500 |
commit | 300acb99ad9fcd4a36998d4ee4d8349478deca59 (patch) | |
tree | 4dd412e9f6a578c879e539c5a96877f662358b64 /source3/utils | |
parent | c115570b857cff15c929cf80ad3c8f32272818d5 (diff) | |
download | samba-300acb99ad9fcd4a36998d4ee4d8349478deca59.tar.gz samba-300acb99ad9fcd4a36998d4ee4d8349478deca59.tar.bz2 samba-300acb99ad9fcd4a36998d4ee4d8349478deca59.zip |
r16284: Start fixing up gcc4 -O6 warnings on an x86_64 box. size_t != unsigned
int
in a format string.
Jeremy.
(This used to be commit face01ef01e1a3c96eae17c56cadf01020d4cb46)
Diffstat (limited to 'source3/utils')
-rw-r--r-- | source3/utils/net_ads.c | 4 | ||||
-rw-r--r-- | source3/utils/net_rpc.c | 4 | ||||
-rw-r--r-- | source3/utils/net_sam.c | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/source3/utils/net_ads.c b/source3/utils/net_ads.c index 0393644494..fabf36e252 100644 --- a/source3/utils/net_ads.c +++ b/source3/utils/net_ads.c @@ -863,8 +863,8 @@ static int check_ads_config( void ) if (strlen(global_myname()) > 15) { d_printf("Our netbios name can be at most 15 chars long, " - "\"%s\" is %d chars long\n", - global_myname(), strlen(global_myname())); + "\"%s\" is %u chars long\n", + global_myname(), (unsigned int)strlen(global_myname())); return -1; } diff --git a/source3/utils/net_rpc.c b/source3/utils/net_rpc.c index 0844d407db..cf9f953458 100644 --- a/source3/utils/net_rpc.c +++ b/source3/utils/net_rpc.c @@ -396,8 +396,8 @@ int net_rpc_join(int argc, const char **argv) if (strlen(global_myname()) > 15) { d_printf("Our netbios name can be at most 15 chars long, " - "\"%s\" is %d chars long\n", - global_myname(), strlen(global_myname())); + "\"%s\" is %u chars long\n", + global_myname(), (unsigned int)strlen(global_myname())); return -1; } diff --git a/source3/utils/net_sam.c b/source3/utils/net_sam.c index 0bf662c271..605d4bbc6b 100644 --- a/source3/utils/net_sam.c +++ b/source3/utils/net_sam.c @@ -672,8 +672,8 @@ static int net_sam_listmem(int argc, const char **argv) return -1; } - d_printf("%s\\%s has %d members\n", groupdomain, groupname, - num_members); + d_printf("%s\\%s has %u members\n", groupdomain, groupname, + (unsigned int)num_members); for (i=0; i<num_members; i++) { const char *dom, *name; if (lookup_sid(tmp_talloc_ctx(), &members[i], |