Fixed a compiler warning on Visual Studio.
This commit is contained in:
parent
6bda63934d
commit
86b8376c2b
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue