diff options
author | Tim Potter <tpot@samba.org> | 2003-07-22 04:31:20 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2003-07-22 04:31:20 +0000 |
commit | 80c1f1d865b13a63c7a60876b63458119566e044 (patch) | |
tree | 86d46f6bb2f871dcbe02a29f016e2fb89272de06 /source3/lib | |
parent | 06345b81164d575bc1faf537e3c48a5dfe8e2442 (diff) | |
download | samba-80c1f1d865b13a63c7a60876b63458119566e044.tar.gz samba-80c1f1d865b13a63c7a60876b63458119566e044.tar.bz2 samba-80c1f1d865b13a63c7a60876b63458119566e044.zip |
Fixup a bunch of printf-style functions and debugs to use unsigned long when
displaying pid_t, uid_t and gid_t values. This removes a whole lot of warnings
on some of the 64-bit build farm machines as well as help us out when 64-bit
uid/gid/pid values come along.
(This used to be commit f93528ba007c8800a850678f35f499fb7360fb9a)
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/username.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/username.c b/source3/lib/username.c index 98b8f33aae..3d37b42c51 100644 --- a/source3/lib/username.c +++ b/source3/lib/username.c @@ -386,7 +386,7 @@ static BOOL user_in_winbind_group_list(const char *user, const char *gname, BOOL if ( DEBUGLEVEL >= 10 ) { DEBUG(10,("user_in_winbind_group_list: using groups -- ")); for ( i=0; i<num_groups; i++ ) - DEBUGADD(10,("%d ", groups[i])); + DEBUGADD(10,("%lu ", (unsigned long)groups[i])); DEBUGADD(10,("\n")); } |