diff options
author | Jeremy Allison <jra@samba.org> | 2006-02-18 00:27:31 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:10:13 -0500 |
commit | 9132acff082381b32961eb2b3244b8fedd4df218 (patch) | |
tree | 344dc24de1501de59edc6036480efaf29807d92f /source3/include | |
parent | 3403fc2d4966e7b2e29ec45ecdc53332302427e4 (diff) | |
download | samba-9132acff082381b32961eb2b3244b8fedd4df218.tar.gz samba-9132acff082381b32961eb2b3244b8fedd4df218.tar.bz2 samba-9132acff082381b32961eb2b3244b8fedd4df218.zip |
r13553: Fix all our warnings at -O6 on an x86_64 box.
Jeremy.
(This used to be commit ea82958349a57ef4b7ce9638eec5f1388b0fba2a)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/hmacmd5.h | 10 | ||||
-rw-r--r-- | source3/include/ntdomain.h | 6 | ||||
-rw-r--r-- | source3/include/rpc_misc.h | 2 |
3 files changed, 8 insertions, 10 deletions
diff --git a/source3/include/hmacmd5.h b/source3/include/hmacmd5.h index 6b53a6fd07..89ea3fed80 100644 --- a/source3/include/hmacmd5.h +++ b/source3/include/hmacmd5.h @@ -21,12 +21,10 @@ #ifndef _HMAC_MD5_H -typedef struct -{ - struct MD5Context ctx; - uchar k_ipad[65]; - uchar k_opad[65]; - +typedef struct { + struct MD5Context ctx; + unsigned char k_ipad[65]; + unsigned char k_opad[65]; } HMACMD5Context; #endif /* _HMAC_MD5_H */ diff --git a/source3/include/ntdomain.h b/source3/include/ntdomain.h index 82e212c0ca..c27ec3675b 100644 --- a/source3/include/ntdomain.h +++ b/source3/include/ntdomain.h @@ -140,8 +140,8 @@ struct dcinfo { DOM_CHAL clnt_chal; /* Client credential */ DOM_CHAL srv_chal; /* Server credential */ - uchar sess_key[16]; /* Session key - 8 bytes followed by 8 zero bytes */ - uchar mach_pw[16]; /* md4(machine password) */ + unsigned char sess_key[16]; /* Session key - 8 bytes followed by 8 zero bytes */ + unsigned char mach_pw[16]; /* md4(machine password) */ fstring mach_acct; /* Machine name we've authenticated. */ @@ -187,7 +187,7 @@ struct kerberos_auth_struct { /* auth state for schannel. */ struct schannel_auth_struct { - uchar sess_key[16]; + unsigned char sess_key[16]; uint32 seq_num; }; diff --git a/source3/include/rpc_misc.h b/source3/include/rpc_misc.h index 7b71e80c55..bad2089ac7 100644 --- a/source3/include/rpc_misc.h +++ b/source3/include/rpc_misc.h @@ -324,7 +324,7 @@ typedef struct log_info { /* DOM_CHAL - challenge info */ typedef struct chal_info { - uchar data[8]; /* credentials */ + unsigned char data[8]; /* credentials */ } DOM_CHAL; /* DOM_CREDs - timestamped client or server credentials */ |