diff options
author | Guy Harris <guy@alum.mit.edu> | 2007-05-25 21:50:12 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2007-05-25 21:50:12 +0000 |
commit | 1e7c1bc0369f0c962ed73e8e34fa5ba7fa1a6c3d (patch) | |
tree | 6ba3e0b87736cc1b7a2535ab1e4ca94cb9bdf0ab /epan/dissectors/packet-spnego.c | |
parent | a33ebc8d5c6b86d12580434da84c4e3c67b368e0 (diff) |
Add a cast to squelch an MSVC warning.
svn path=/trunk/; revision=21944
Diffstat (limited to 'epan/dissectors/packet-spnego.c')
-rw-r--r-- | epan/dissectors/packet-spnego.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-spnego.c b/epan/dissectors/packet-spnego.c index db129a7df4..96277544a6 100644 --- a/epan/dissectors/packet-spnego.c +++ b/epan/dissectors/packet-spnego.c @@ -1003,7 +1003,7 @@ decrypt_arcfour(packet_info *pinfo, crypt_rc4_init(&rc4_state, k6_data, sizeof(k6_data)); memcpy(SND_SEQ, (unsigned char *)tvb_get_ptr(pinfo->gssapi_wrap_tvb, 8, 8), 8); - crypt_rc4(&rc4_state, SND_SEQ, 8); + crypt_rc4(&rc4_state, (unsigned char *)SND_SEQ, 8); memset(k6_data, 0, sizeof(k6_data)); } @@ -1021,7 +1021,7 @@ decrypt_arcfour(packet_info *pinfo, Klocaldata[i] = ((guint8 *)key_value)[i] ^ 0xF0; } ret = arcfour_mic_key(Klocaldata,sizeof(Klocaldata),key_type, - SND_SEQ, 4, + (unsigned char *)SND_SEQ, 4, k6_data); memset(Klocaldata, 0, sizeof(Klocaldata)); if (ret) { |