From 86b8376c2b6112d1a27b14895b24b81dc5cc4449 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Mon, 15 Apr 2013 22:49:23 -0400 Subject: [PATCH] Fixed a compiler warning on Visual Studio. --- test/testautomation_video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/testautomation_video.c b/test/testautomation_video.c index 1c0dac6c2..ccaa2ed8a 100644 --- a/test/testautomation_video.c +++ b/test/testautomation_video.c @@ -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;