Skip to content

Commit

Permalink
stdlib: Fixed compiler warnings about int vs size_t.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed May 5, 2020
1 parent 0eb6512 commit b0a20a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/stdlib/SDL_getenv.c
Expand Up @@ -110,7 +110,7 @@ int
SDL_setenv(const char *name, const char *value, int overwrite)
{
int added;
int len, i;
size_t len, i;
char **new_env;
char *new_variable;

Expand Down Expand Up @@ -218,7 +218,7 @@ SDL_getenv(const char *name)
char *
SDL_getenv(const char *name)
{
int len, i;
size_t len, i;
char *value;

/* Input validation */
Expand Down

0 comments on commit b0a20a1

Please sign in to comment.