Fixed warning on Windows

This commit is contained in:
Sam Lantinga
2011-02-28 23:50:07 -08:00
parent 2d74fa0606
commit 8261852483

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);
}