diff options
author | Guy Harris <guy@alum.mit.edu> | 2013-07-14 17:39:36 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2013-07-14 17:39:36 +0000 |
commit | 0e402342175ba6229cb9e5df29ea3517d07556ff (patch) | |
tree | d1562a09a48a90ec9cf8b26eb2903ff0eb122364 /asn1/t38 | |
parent | b161d15f0e2d57e9f7a7464980329f9b844f9616 (diff) | |
download | wireshark-0e402342175ba6229cb9e5df29ea3517d07556ff.tar.gz wireshark-0e402342175ba6229cb9e5df29ea3517d07556ff.tar.bz2 wireshark-0e402342175ba6229cb9e5df29ea3517d07556ff.zip |
Make pointers to raw packet data pointers to guint8, not pointers to
char; they're chunks of raw octets, not characters.
svn path=/trunk/; revision=50586
Diffstat (limited to 'asn1/t38')
-rw-r--r-- | asn1/t38/packet-t38-template.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/asn1/t38/packet-t38-template.c b/asn1/t38/packet-t38-template.c index e13c0e87e8..c439f84e23 100644 --- a/asn1/t38/packet-t38-template.c +++ b/asn1/t38/packet-t38-template.c @@ -299,7 +299,7 @@ force_reassemble_seq(reassembly_table *table, packet_info *pinfo, guint32 id) fragment_data *fd_i; fragment_data *last_fd; guint32 dfpos, size, packet_lost, burst_lost, seq_num; - char *data; + guint8 *data; fd_head = fragment_get(table, pinfo, id, NULL); @@ -343,7 +343,7 @@ force_reassemble_seq(reassembly_table *table, packet_info *pinfo, guint32 id) last_fd=fd_i; } - data = (char *) g_malloc(size); + data = (guint8 *) g_malloc(size); fd_head->tvb_data = tvb_new_real_data(data, size, size); fd_head->len = size; /* record size for caller */ |