mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-20 22:16:49 +01:00
stdlib: Fixed compiler warnings about int vs size_t.
This commit is contained in:
parent
0eb6512b53
commit
b0a20a153c
@ -110,7 +110,7 @@ int
|
|||||||
SDL_setenv(const char *name, const char *value, int overwrite)
|
SDL_setenv(const char *name, const char *value, int overwrite)
|
||||||
{
|
{
|
||||||
int added;
|
int added;
|
||||||
int len, i;
|
size_t len, i;
|
||||||
char **new_env;
|
char **new_env;
|
||||||
char *new_variable;
|
char *new_variable;
|
||||||
|
|
||||||
@ -218,7 +218,7 @@ SDL_getenv(const char *name)
|
|||||||
char *
|
char *
|
||||||
SDL_getenv(const char *name)
|
SDL_getenv(const char *name)
|
||||||
{
|
{
|
||||||
int len, i;
|
size_t len, i;
|
||||||
char *value;
|
char *value;
|
||||||
|
|
||||||
/* Input validation */
|
/* Input validation */
|
||||||
|
Loading…
Reference in New Issue
Block a user