Make the DCE transport type an "int" so that -1 is a valid value and the
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Fri, 25 Feb 2005 23:44:44 +0000 (23:44 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Fri, 25 Feb 2005 23:44:44 +0000 (23:44 +0000)
compiler doesn't say "that's unsigned, it can't possibly be equal to -1".

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@13526 f5534014-38df-0310-8fa8-9805f1628bb7

epan/packet_info.h

index 624314b893eabeb777f9b0413c180180d3e7b23a..ffb0484ce6acd114af0e0f0149140fd246eab3ca 100644 (file)
@@ -124,7 +124,7 @@ typedef struct _packet_info {
   guint16 dst_idx;              /* Dest port index (Cisco MDS-specific) */
   guint16 vsan;                 /* Fibre channel/Cisco MDS-specific */
   guint16 dcectxid;             /* Context ID (DCERPC-specific) */
-  guint16 dcetransporttype;     /* Transport type
+  int     dcetransporttype;     /* Transport type
                                  * Value -1 means "not a DCERPC packet"
                                  */
   guint16 dcetransportsalt;    /* fid: if transporttype==DCE_CN_TRANSPORT_SMBPIPE */