Cleanup: warnings
authorCampbell Barton <ideasman42@gmail.com>
Wed, 20 Jul 2016 21:38:15 +0000 (07:38 +1000)
committerCampbell Barton <ideasman42@gmail.com>
Wed, 20 Jul 2016 21:38:15 +0000 (07:38 +1000)
source/creator/creator.c

index 289e68f6276ab26552c9f72ed07ea14f7c1b6f10..bfb1dd94dd441ca398fc8098460e470d642e92f8 100644 (file)
@@ -171,9 +171,9 @@ static void callback_main_atexit(void *user_data)
 #ifdef WIN32
        if (app_init_data->argv) {
                while (app_init_data->argv_num) {
-                       free(app_init_data->argv[--app_init_data->argv_num]);
+                       free((void *)app_init_data->argv[--app_init_data->argv_num]);
                }
-               free(app_init_data->argv);
+               free((void *)app_init_data->argv);
                app_init_data->argv = NULL;
        }
 #endif