test/testoverlay2.c
changeset 11834 b359333bdc52
parent 11811 5d94cb6b24d3
child 12503 806492103856
     1.1 --- a/test/testoverlay2.c	Mon Jan 22 09:45:16 2018 -0500
     1.2 +++ b/test/testoverlay2.c	Mon Jan 22 09:46:48 2018 -0500
     1.3 @@ -254,7 +254,7 @@
     1.4      while (argc > 1) {
     1.5          if (strcmp(argv[1], "-fps") == 0) {
     1.6              if (argv[2]) {
     1.7 -                fps = atoi(argv[2]);
     1.8 +                fps = SDL_atoi(argv[2]);
     1.9                  if (fps == 0) {
    1.10                      SDL_LogError(SDL_LOG_CATEGORY_APPLICATION,
    1.11                              "The -fps option requires an argument [from 1 to 1000], default is 12.\n");
    1.12 @@ -278,7 +278,7 @@
    1.13              argc -= 1;
    1.14          } else if (strcmp(argv[1], "-scale") == 0) {
    1.15              if (argv[2]) {
    1.16 -                scale = atoi(argv[2]);
    1.17 +                scale = SDL_atoi(argv[2]);
    1.18                  if (scale == 0) {
    1.19                      SDL_LogError(SDL_LOG_CATEGORY_APPLICATION,
    1.20                              "The -scale option requires an argument [from 1 to 50], default is 5.\n");