Fix two more cases of of C99 strtoll()

This commit is contained in:
John Emmas
2019-12-31 10:11:18 +00:00
parent def4be7285
commit 75aaae9963

View File

@@ -98,7 +98,7 @@ numerically_less (const char* a, const char* b)
}
if (d_a) {
return strtoll (d_a, NULL, 0) * order_of_magnitude (d_a) < strtoll (d_b, NULL, 0) * order_of_magnitude (d_b);
return strtol (d_a, NULL, 0) * order_of_magnitude (d_a) < strtol (d_b, NULL, 0) * order_of_magnitude (d_b);
}
/* if we reach here, either strings are same length and equal