From bf7b7e5614364ba503d84a69312330d463209a27 Mon Sep 17 00:00:00 2001 From: pascal Date: Tue, 17 Jul 2012 13:12:50 +0000 Subject: 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 --- epan/dissectors/packet-nbap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'epan/dissectors/packet-nbap.c') 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; } -- cgit v1.2.3