src/stdlib/SDL_getenv.c
changeset 13791 c53bc3314e83
parent 13422 fd6a12de91c7
     1.1 --- a/src/stdlib/SDL_getenv.c	Mon May 04 13:19:26 2020 -0700
     1.2 +++ b/src/stdlib/SDL_getenv.c	Tue May 05 12:48:55 2020 -0400
     1.3 @@ -110,7 +110,7 @@
     1.4  SDL_setenv(const char *name, const char *value, int overwrite)
     1.5  {
     1.6      int added;
     1.7 -    int len, i;
     1.8 +    size_t len, i;
     1.9      char **new_env;
    1.10      char *new_variable;
    1.11  
    1.12 @@ -218,7 +218,7 @@
    1.13  char *
    1.14  SDL_getenv(const char *name)
    1.15  {
    1.16 -    int len, i;
    1.17 +    size_t len, i;
    1.18      char *value;
    1.19  
    1.20      /* Input validation */