summaryrefslogtreecommitdiffstats
path: root/src/util/strtonum.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/strtonum.c')
-rw-r--r--src/util/strtonum.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/strtonum.c b/src/util/strtonum.c
index 744e0f71a..bf1b21a62 100644
--- a/src/util/strtonum.c
+++ b/src/util/strtonum.c
@@ -51,7 +51,7 @@ int32_t strtoint32(const char *nptr, char **endptr, int base)
/* strtouint32 */
uint32_t strtouint32(const char *nptr, char **endptr, int base)
{
- long long ret = 0;
+ unsigned long long ret = 0;
errno = 0;
ret = strtoull(nptr, endptr, base);