aboutsummaryrefslogtreecommitdiffstats
path: root/tools/asn2wrs.py
diff options
context:
space:
mode:
authoretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>2009-04-14 18:10:45 +0000
committeretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>2009-04-14 18:10:45 +0000
commit49cd86c5023f9cf486aafc02e84bb4b9042107d8 (patch)
treec9a3a6aef37efb465a9b0447bc0ef240d7b74c15 /tools/asn2wrs.py
parentfdb1a7802b0f1a22f2fce30bc4cdbb9a516f646a (diff)
Use G_GINT64_CONSTANT in stead of G_GUINT4_CONSTANT
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28048 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'tools/asn2wrs.py')
-rwxr-xr-xtools/asn2wrs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/asn2wrs.py b/tools/asn2wrs.py
index 624d690097..44e67f68c6 100755
--- a/tools/asn2wrs.py
+++ b/tools/asn2wrs.py
@@ -3106,7 +3106,7 @@ class Type (Node):
if str(minv).isdigit(): minv += 'U'
if str(maxv).isdigit():
if (long(maxv) >= 2**32):
- maxv = "G_GUINT64_CONSTANT(%s)" % (str(maxv))
+ maxv = "G_GINT64_CONSTANT(%sU)" % (str(maxv))
else:
maxv += 'U'
if (ext): ext = 'TRUE'