Просмотр исходного кода

No need to cast from char* to const char*

Sam Lantinga 3 лет назад
Родитель
Сommit
28ecdc6bc7
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      test/testautomation.c

+ 1 - 1
test/testautomation.c

@@ -101,7 +101,7 @@ main(int argc, char *argv[])
     }
 
     /* Call Harness */
-    result = SDLTest_RunSuites(testSuites, (const char *)userRunSeed, userExecKey, (const char *)filter, testIterations);
+    result = SDLTest_RunSuites(testSuites, userRunSeed, userExecKey, filter, testIterations);
 
     /* Empty event queue */
     done = 0;