summaryrefslogtreecommitdiff
path: root/librpc/gen_ndr/schannel.h
diff options
context:
space:
mode:
Diffstat (limited to 'librpc/gen_ndr/schannel.h')
-rw-r--r--librpc/gen_ndr/schannel.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/librpc/gen_ndr/schannel.h b/librpc/gen_ndr/schannel.h
index c07212fea6..4aab8243af 100644
--- a/librpc/gen_ndr/schannel.h
+++ b/librpc/gen_ndr/schannel.h
@@ -25,8 +25,8 @@ struct netlogon_creds_CredentialState {
enum NL_AUTH_MESSAGE_TYPE
#ifndef USE_UINT_ENUMS
{
- NL_NEGOTIATE_REQUEST=0x00000000,
- NL_NEGOTIATE_RESPONSE=0x00000001
+ NL_NEGOTIATE_REQUEST=(int)(0x00000000),
+ NL_NEGOTIATE_RESPONSE=(int)(0x00000001)
}
#else
{ __donnot_use_enum_NL_AUTH_MESSAGE_TYPE=0x7FFFFFFF}
@@ -65,8 +65,8 @@ struct NL_AUTH_MESSAGE {
enum NL_SIGNATURE_ALGORITHM
#ifndef USE_UINT_ENUMS
{
- NL_SIGN_HMAC_SHA256=0x0013,
- NL_SIGN_HMAC_MD5=0x0077
+ NL_SIGN_HMAC_SHA256=(int)(0x0013),
+ NL_SIGN_HMAC_MD5=(int)(0x0077)
}
#else
{ __donnot_use_enum_NL_SIGNATURE_ALGORITHM=0x7FFFFFFF}
@@ -78,9 +78,9 @@ enum NL_SIGNATURE_ALGORITHM
enum NL_SEAL_ALGORITHM
#ifndef USE_UINT_ENUMS
{
- NL_SEAL_AES128=0x001A,
- NL_SEAL_RC4=0x007A,
- NL_SEAL_NONE=0xFFFF
+ NL_SEAL_AES128=(int)(0x001A),
+ NL_SEAL_RC4=(int)(0x007A),
+ NL_SEAL_NONE=(int)(0xFFFF)
}
#else
{ __donnot_use_enum_NL_SEAL_ALGORITHM=0x7FFFFFFF}