From 9132acff082381b32961eb2b3244b8fedd4df218 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Sat, 18 Feb 2006 00:27:31 +0000 Subject: r13553: Fix all our warnings at -O6 on an x86_64 box. Jeremy. (This used to be commit ea82958349a57ef4b7ce9638eec5f1388b0fba2a) --- source3/include/hmacmd5.h | 10 ++++------ source3/include/ntdomain.h | 6 +++--- source3/include/rpc_misc.h | 2 +- 3 files changed, 8 insertions(+), 10 deletions(-) (limited to 'source3/include') 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 */ -- cgit