Fixed warning on Windows

This commit is contained in:
Sam Lantinga 2011-02-28 23:50:07 -08:00
parent 0f59f2fdbb
commit 4b86de315f

2
test/testcursor.c Normal file → Executable file
View file

@ -137,7 +137,7 @@ create_arrow_cursor()
}
}
}
sscanf(arrow[4 + row], "%d,%d", &hot_x, &hot_y);
SDL_sscanf(arrow[4 + row], "%d,%d", &hot_x, &hot_y);
return SDL_CreateCursor(data, mask, 32, 32, hot_x, hot_y);
}