diff options
author | Jeremy Allison <jra@samba.org> | 2005-10-18 03:24:00 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:05:02 -0500 |
commit | d720867a788c735e56d53d63265255830ec21208 (patch) | |
tree | 52df7c4ee2096060f3c10d9de464abc40cfbf23b /source/smbd/negprot.c | |
parent | 47b626a8f72629fd1bbabf35b68e24d202df2555 (diff) | |
download | samba-d720867a788c735e56d53d63265255830ec21208.tar.gz samba-d720867a788c735e56d53d63265255830ec21208.tar.xz samba-d720867a788c735e56d53d63265255830ec21208.zip |
r11137: Compile with only 2 warnings (I'm still working on that code) on a gcc4
x86_64 box.
Jeremy.
Diffstat (limited to 'source/smbd/negprot.c')
-rw-r--r-- | source/smbd/negprot.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/smbd/negprot.c b/source/smbd/negprot.c index 91942bf028f..65c31449bb2 100644 --- a/source/smbd/negprot.c +++ b/source/smbd/negprot.c @@ -172,7 +172,7 @@ static int negprot_spnego(char *p, uint8 *pkeylen) DATA_BLOB blob; nstring dos_name; fstring unix_name; - uint8 guid[17]; + char guid[17]; const char *OIDs_krb5[] = {OID_KERBEROS5, OID_KERBEROS5_OLD, OID_NTLMSSP, @@ -186,7 +186,7 @@ static int negprot_spnego(char *p, uint8 *pkeylen) safe_strcpy(unix_name, global_myname(), sizeof(unix_name)-1); strlower_m(unix_name); push_ascii_nstring(dos_name, unix_name); - safe_strcpy((char *)guid, dos_name, sizeof(guid)-1); + safe_strcpy(guid, dos_name, sizeof(guid)-1); #ifdef DEVELOPER /* valgrind fixer... */ |