Fixed a compiler warning on Visual Studio.
authorRyan C. Gordon <icculus@icculus.org>
Mon, 15 Apr 2013 22:49:23 -0400
changeset 7065 e171653481d4
parent 7064 239ce872e8d4
child 7066 d61902a0bc21
Fixed a compiler warning on Visual Studio.
test/testautomation_video.c
--- a/test/testautomation_video.c	Sun Apr 14 18:05:14 2013 -0400
+++ b/test/testautomation_video.c	Mon Apr 15 22:49:23 2013 -0400
@@ -1522,7 +1522,7 @@
   	returnValue = TEST_ABORTED; 
   	goto cleanup; 
   }
-  userdata = (char *)strdup(referenceUserdata);
+  userdata = SDL_strdup(referenceUserdata);
   if (userdata == NULL) {
   	returnValue = TEST_ABORTED; 
   	goto cleanup;