diff options
author | Stefan Metzmacher <metze@samba.org> | 2004-11-06 20:06:56 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:05:35 -0500 |
commit | 81f6d0b0150672ab7546f667ab00f58e9152d782 (patch) | |
tree | 351b256da4e62dc203fde02bf23a414f6f14ac9d /source4/lib | |
parent | f45846084249540f3dee24fe92cfaab2974461cc (diff) | |
download | samba-81f6d0b0150672ab7546f667ab00f58e9152d782.tar.gz samba-81f6d0b0150672ab7546f667ab00f58e9152d782.tar.bz2 samba-81f6d0b0150672ab7546f667ab00f58e9152d782.zip |
r3581: fix some signedness warnings with gcc-4.0
(there some callers to be fixed later)
metze
(This used to be commit dfb062c63c5445023055045ba40979eb58f1740e)
Diffstat (limited to 'source4/lib')
-rw-r--r-- | source4/lib/util.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/lib/util.c b/source4/lib/util.c index d8e9cb50f9..1202cb3aae 100644 --- a/source4/lib/util.c +++ b/source4/lib/util.c @@ -565,9 +565,8 @@ static void print_asc(int level, const uint8_t *buf,int len) DEBUGADD(level,("%c", isprint(buf[i])?buf[i]:'.')); } -void dump_data(int level, const char *buf1,int len) +void dump_data(int level, const uint8_t *buf,int len) { - const uint8_t *buf = (const uint8_t *)buf1; int i=0; if (len<=0) return; |