Skip to content

Commit 5424cd1

Browse files
committed
warning fix
1 parent 3b9a7cd commit 5424cd1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cli.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,7 @@ bool check_for_metal_tools(void)
553553
// Check for the Metal Developer Tools...
554554
// FIXME: All the process calls need their Windows equivalents!
555555
SDL_PropertiesID props = SDL_CreateProperties();
556-
SDL_SetPointerProperty(props, SDL_PROP_PROCESS_CREATE_ARGS_POINTER, (const char*[]){ "xcrun", "--help", NULL });
556+
SDL_SetPointerProperty(props, SDL_PROP_PROCESS_CREATE_ARGS_POINTER, (char*[]){ "xcrun", "--help", NULL });
557557
SDL_SetNumberProperty(props, SDL_PROP_PROCESS_CREATE_STDERR_NUMBER, SDL_PROCESS_STDIO_NULL);
558558
SDL_Process *process = SDL_CreateProcessWithProperties(props);
559559
SDL_DestroyProperties(props);

0 commit comments

Comments
 (0)