Fixed a typo: strtoull() -> strtoul()
authorstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>
Fri, 28 Oct 2011 20:32:42 +0000 (20:32 +0000)
committerstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>
Fri, 28 Oct 2011 20:32:42 +0000 (20:32 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39661 f5534014-38df-0310-8fa8-9805f1628bb7

epan/ftypes/ftype-integer.c

index 37348c5497d5e38a093ba4d5163157e20fc40d74..9af7fe820fb96ed367f7a58d67840de2c8547b7f 100644 (file)
@@ -145,7 +145,7 @@ sint_from_unparsed(fvalue_t *fv, char *s, gboolean allow_partial_value _U_, LogF
        long value;
        char *endptr;
 
-       if (!strchr (s, '-') && strtoull(s, NULL, 0) > G_MAXINT32) {
+       if (!strchr (s, '-') && strtoul(s, NULL, 0) > G_MAXINT32) {
                /*
                 * Probably a positive integer > G_MAXINT32, but will be
                 * "converted in the obvious manner" by strtol().