diff options
Diffstat (limited to 'src/utils.c')
-rw-r--r-- | src/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils.c b/src/utils.c index 5fc27d3..fa33cb0 100644 --- a/src/utils.c +++ b/src/utils.c @@ -29,7 +29,7 @@ unsigned int str_to_uint(char *str, char **err) char *str_waste; unsigned long num = strtoul(str, &str_waste, 10); - if (strlen(str_waste) != 0) + if (strlen(str_waste) != 0UL) { *err = "Not a number"; return 0; |