mirror of
https://github.com/yawut/SDL.git
synced 2026-08-04 17:47:52 -05:00
Fixed a compiler warning on Visual Studio.
This commit is contained in:
parent
006f31e2ec
commit
df8125df4b
|
|
@ -1522,7 +1522,7 @@ video_getSetWindowData(void *arg)
|
|||
returnValue = TEST_ABORTED;
|
||||
goto cleanup;
|
||||
}
|
||||
userdata = (char *)strdup(referenceUserdata);
|
||||
userdata = SDL_strdup(referenceUserdata);
|
||||
if (userdata == NULL) {
|
||||
returnValue = TEST_ABORTED;
|
||||
goto cleanup;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user