mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-05 19:08:12 +00:00
Fixed warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
This commit is contained in:
@@ -132,7 +132,7 @@ void windows_ShowFileDialog(void *ptr)
|
||||
return;
|
||||
}
|
||||
|
||||
int filter_len = SDL_strlen(filterlist);
|
||||
int filter_len = (int)SDL_strlen(filterlist);
|
||||
|
||||
for (char *c = filterlist; *c; c++) {
|
||||
if (*c == '\x01') {
|
||||
|
Reference in New Issue
Block a user