summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/freebsd/strtoull.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/3rdparty/freebsd/strtoull.c')
-rw-r--r--src/3rdparty/freebsd/strtoull.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/3rdparty/freebsd/strtoull.c b/src/3rdparty/freebsd/strtoull.c
index 1eb92578d4..cf151691ad 100644
--- a/src/3rdparty/freebsd/strtoull.c
+++ b/src/3rdparty/freebsd/strtoull.c
@@ -105,7 +105,7 @@ qt_strtoull(const char * nptr, char **endptr, int base)
noconv:
errno = EINVAL;
} else if (neg)
- acc = (unsigned long long) -(long long)acc;
+ acc = -acc;
if (endptr != NULL)
*endptr = const_cast<char *>(any ? s - 1 : nptr);
return (acc);