diff options
author | Jeff Morriss <jeff.morriss@ulticom.com> | 2010-04-29 15:23:10 +0000 |
---|---|---|
committer | Jeff Morriss <jeff.morriss@ulticom.com> | 2010-04-29 15:23:10 +0000 |
commit | ed75cdd99c115120e920efd5176157027ff798f8 (patch) | |
tree | caeefdcb6af0ea8d5da1e33cb9b2f5092edf4169 /asn1/spnego/packet-spnego-template.c | |
parent | 07cab745355067e71f6014ea3f47159930583061 (diff) | |
download | wireshark-ed75cdd99c115120e920efd5176157027ff798f8.tar.gz |
Make a variable a guint8* instead of a char* since it a) holds TVB data and b) matches what tvb_new_child_real_data() wants for its 2nd argument. This cleans up a warning from the Sun compiler.
svn path=/trunk/; revision=32599
Diffstat (limited to 'asn1/spnego/packet-spnego-template.c')
-rw-r--r-- | asn1/spnego/packet-spnego-template.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/asn1/spnego/packet-spnego-template.c b/asn1/spnego/packet-spnego-template.c index 2c0a774e4b..1ed16f9fb1 100644 --- a/asn1/spnego/packet-spnego-template.c +++ b/asn1/spnego/packet-spnego-template.c @@ -632,7 +632,7 @@ decrypt_gssapi_krb_arcfour_wrap(proto_tree *tree, packet_info *pinfo, tvbuff_t * ); if (ret >= 0) { proto_tree_add_text(tree, NULL, 0, 0, "[Decrypted using: %s]", ek->key_origin); - pinfo->gssapi_decrypted_tvb=tvb_new_child_real_data(tvb, + pinfo->gssapi_decrypted_tvb=tvb_new_child_real_data(tvb, output_message_buffer, ret, ret); tvb_set_free_cb(pinfo->gssapi_decrypted_tvb, g_free); @@ -702,8 +702,8 @@ decrypt_gssapi_krb_cfx_wrap(proto_tree *tree _U_, unsigned int usage) { int res; - char *rotated; - char *output; + guint8 *rotated; + guint8 *output; int datalen; tvbuff_t *next_tvb; @@ -736,7 +736,7 @@ decrypt_gssapi_krb_cfx_wrap(proto_tree *tree _U_, keytype, &datalen); if (output) { - char *outdata; + guint8 *outdata; outdata = g_memdup(output, tvb_length(encrypted_tvb)); g_free(output); |