diff --git a/[refs] b/[refs] index fe20811ff13e..d3ffcee1d768 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 8ca3ed87db062201e1fa15b64a9214e193fc3a8a +refs/heads/master: 4f9d5f4a353440f2265781bfa641587964901861 diff --git a/trunk/lib/vsprintf.c b/trunk/lib/vsprintf.c index fd987b17bda7..6021757a4496 100644 --- a/trunk/lib/vsprintf.c +++ b/trunk/lib/vsprintf.c @@ -234,7 +234,7 @@ int strict_strto##type(const char *cp, unsigned int base, valtype *res) \ int ret; \ if (*cp == '-') { \ ret = strict_strtou##type(cp+1, base, res); \ - if (ret != 0) \ + if (!ret) \ *res = -(*res); \ } else \ ret = strict_strtou##type(cp, base, res); \