]> git.draconx.ca Git - cdecl99.git/blobdiff - t/rendertest.c
tests: Avoid dependency on strtoumax.
[cdecl99.git] / t / rendertest.c
index e5299c292fc662f842c03113b232dfa0dbc95d90..42a2c5e9e38a701b93843f4c8e7b6567e96874e2 100644 (file)
@@ -109,7 +109,7 @@ int main(int argc, char **argv)
                        mode = MODE_ENGLISH;
                        break;
                case 'n':
-                       if (!strict_strtoul(&n, optarg, 0) || n > (size_t)-2) {
+                       if (!test_strtoul(&n, optarg) || n > (size_t)-2) {
                                fprintf(stderr, "%s: invalid count: %s\n",
                                        progname, optarg);
                                return EXIT_FAILURE;