packet-netflow.c:4407: warning: integer constant is too large for 'long' type
authoretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 6 Feb 2012 19:05:30 +0000 (19:05 +0000)
committeretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 6 Feb 2012 19:05:30 +0000 (19:05 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@40883 f5534014-38df-0310-8fa8-9805f1628bb7

epan/dissectors/packet-netflow.c

index 6df0d20..4ac380b 100644 (file)
@@ -4404,7 +4404,7 @@ dissect_v9_v10_pdu_data(tvbuff_t *tvb, packet_info *pinfo, proto_tree *pdutree,
             }
             break;
         case 37071: /* bytes_out_of_order */
-            if (tvb_get_ntoh64(tvb,offset)== 0xFFFFFFFFFFFFFFFF) {
+            if (tvb_get_ntoh64(tvb,offset)== G_GINT64_CONSTANT(0xFFFFFFFFFFFFFFFF)) {
                 /* need to add custom code to show "Not Measured"  */
                 proto_tree_add_text(pdutree, tvb, offset, 8,
                                     "Transport Bytes Out of Order: Not Measured (0x%"G_GINT64_MODIFIER"x)",