diff options
author | Stefan Metzmacher <metze@samba.org> | 2004-11-22 07:59:14 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:06:03 -0500 |
commit | 243b314a231f0044ceee81728a0a1deb71c58283 (patch) | |
tree | 3d8a2dcca118d204ce6691b23d558bb565313220 /source4 | |
parent | ac40a16d6ac3a639f9fdd2437340eb07bb8a98ef (diff) | |
download | samba-243b314a231f0044ceee81728a0a1deb71c58283.tar.gz samba-243b314a231f0044ceee81728a0a1deb71c58283.tar.bz2 samba-243b314a231f0044ceee81728a0a1deb71c58283.zip |
r3901: fix compiler warnings
metze
(This used to be commit efe840c8b0dd599d205068a4946ef587d542f2a5)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/libcli/util/smbencrypt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/libcli/util/smbencrypt.c b/source4/libcli/util/smbencrypt.c index f0ff3ee08d..9e8a4cd02d 100644 --- a/source4/libcli/util/smbencrypt.c +++ b/source4/libcli/util/smbencrypt.c @@ -463,7 +463,7 @@ BOOL encode_pw_buffer(uint8_t buffer[516], const char *password, int string_flag *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 @@ BOOL decode_pw_buffer(char in_buffer[516], char *new_pwrd, #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 |