Fixed a compiler warning on Visual Studio.

This commit is contained in:
Ryan C. Gordon 2013-04-15 22:49:23 -04:00
parent 6bda63934d
commit 86b8376c2b

View file

@ -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;