aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-nbap.c
diff options
context:
space:
mode:
authorpascal <pascal@f5534014-38df-0310-8fa8-9805f1628bb7>2012-07-17 13:12:50 +0000
committerpascal <pascal@f5534014-38df-0310-8fa8-9805f1628bb7>2012-07-17 13:12:50 +0000
commitbf7b7e5614364ba503d84a69312330d463209a27 (patch)
tree1963676cb222265edccef8b3928aabb53b459e17 /epan/dissectors/packet-nbap.c
parentec1c6b4fe0e6b694ef979b257b0cd875cb35de3c (diff)
Use G_MININT32 instead of -2^31 so as to get rid of 'this decimal constant is unsigned only in ISO C90' warning
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@43764 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-nbap.c')
-rw-r--r--epan/dissectors/packet-nbap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-nbap.c b/epan/dissectors/packet-nbap.c
index 8805fd4ad3..57b2250bc7 100644
--- a/epan/dissectors/packet-nbap.c
+++ b/epan/dissectors/packet-nbap.c
@@ -20626,7 +20626,7 @@ dissect_nbap_INTEGER_0_37799(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx
static int
dissect_nbap_INTEGER_M2147483648_2147483647(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index,
- -2147483648, 2147483647U, NULL, FALSE);
+ G_MININT32, 2147483647U, NULL, FALSE);
return offset;
}