Skip to content

Commit

Permalink
Fixed warning C4267: '=': conversion from 'size_t' to 'int', possible…
Browse files Browse the repository at this point in the history
… loss of data
  • Loading branch information
slouken committed Jul 20, 2024
1 parent 03bb2c1 commit 71d2662
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SDL_utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 71d2662

Please sign in to comment.