mirror of https://github.com/libsdl-org/SDL
Fixed warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
This commit is contained in:
parent
03bb2c17ed
commit
71d2662a39
|
@ -219,7 +219,7 @@ static int SDL_URIDecode(const char *src, char *dst, int len)
|
|||
return -1;
|
||||
}
|
||||
if (len == 0) {
|
||||
len = SDL_strlen(src);
|
||||
len = (int)SDL_strlen(src);
|
||||
}
|
||||
for (ri = 0, wi = 0, di = 0; ri < len && wi < len; ri += 1) {
|
||||
if (di == 0) {
|
||||
|
|
Loading…
Reference in New Issue