Author: metze
Date: 2004-11-06 20:06:56 +0000 (Sat, 06 Nov 2004)
New Revision: 3581

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=3581

Log:
fix some signedness warnings with gcc-4.0
(there some callers to be fixed later)

metze

Modified:
   branches/SAMBA_4_0/source/lib/util.c


Changeset:
Modified: branches/SAMBA_4_0/source/lib/util.c
===================================================================
--- branches/SAMBA_4_0/source/lib/util.c        2004-11-06 12:35:31 UTC (rev 3580)
+++ branches/SAMBA_4_0/source/lib/util.c        2004-11-06 20:06:56 UTC (rev 3581)
@@ -565,9 +565,8 @@
                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;
 

Reply via email to