psp/SDL_sysfilesystem.c: fixed a minor compiler warning.

src/filesystem/psp/SDL_sysfilesystem.c: In function 'SDL_GetPrefPath':
src/filesystem/psp/SDL_sysfilesystem.c:71: warning: passing argument 1 of 'free' discards qualifiers from pointer target type
main
Ozkan Sezer 2022-01-08 11:55:10 +03:00
parent 21914b4e2f
commit df1474b46e
1 changed files with 2 additions and 2 deletions

View File

@ -51,7 +51,7 @@ SDL_GetPrefPath(const char *org, const char *app)
{
char *retval = NULL;
size_t len;
const char *base = SDL_GetBasePath();
char *base = SDL_GetBasePath();
if (!app) {
SDL_InvalidParamError("app");
return NULL;