Make a variable a guint8* instead of a char* since it a) holds TVB data and b) matche...
authormorriss <morriss@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 29 Apr 2010 14:58:22 +0000 (14:58 +0000)
committermorriss <morriss@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 29 Apr 2010 14:58:22 +0000 (14:58 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32598 f5534014-38df-0310-8fa8-9805f1628bb7

epan/dissectors/packet-iscsi.c

index 5de3efbea8fa24cf432a2f2aa1142e62ccd439d9..7adaced7e92bae5448b11e9b652c27e6e13368ab 100644 (file)
@@ -1582,7 +1582,7 @@ dissect_iscsi_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint off
        tvb_rlen=tvb_reported_length_remaining(tvb, cdb_offset);
        scsi_opcode=tvb_get_guint8(tvb, cdb_offset);
        if(ahs_cdb_length && ahs_cdb_length<1024){
-               char *cdb_buf;
+               guint8 *cdb_buf;
 
                /* We have a variable length CDB where bytes >16 is transported
                 * in the AHS.