svn commit: samba r3901 - in branches/SAMBA_4_0/source/libcli/util: .

metze at samba.org metze at samba.org
Mon Nov 22 07:59:14 GMT 2004


Author: metze
Date: 2004-11-22 07:59:14 +0000 (Mon, 22 Nov 2004)
New Revision: 3901

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

Log:
fix compiler warnings

metze

Modified:
   branches/SAMBA_4_0/source/libcli/util/smbencrypt.c


Changeset:
Modified: branches/SAMBA_4_0/source/libcli/util/smbencrypt.c
===================================================================
--- branches/SAMBA_4_0/source/libcli/util/smbencrypt.c	2004-11-22 07:56:13 UTC (rev 3900)
+++ branches/SAMBA_4_0/source/libcli/util/smbencrypt.c	2004-11-22 07:59:14 UTC (rev 3901)
@@ -463,7 +463,7 @@
  *new_pw_len is the length in bytes of the possibly mulitbyte
  returned password including termination.
 ************************************************************/
-BOOL decode_pw_buffer(char in_buffer[516], char *new_pwrd,
+BOOL decode_pw_buffer(uint8_t in_buffer[516], char *new_pwrd,
 		      int new_pwrd_size, uint32_t *new_pw_len,
 		      int string_flags)
 {
@@ -497,7 +497,7 @@
 
 #ifdef DEBUG_PASSWORD
 	DEBUG(100,("decode_pw_buffer: new_pwrd: "));
-	dump_data(100, (char *)new_pwrd, *new_pw_len);
+	dump_data(100, (const uint8_t *)new_pwrd, *new_pw_len);
 	DEBUG(100,("multibyte len:%d\n", *new_pw_len));
 	DEBUG(100,("original char len:%d\n", byte_len/2));
 #endif



More information about the samba-cvs mailing list