Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Readability: remove redundant cast
  • Loading branch information
1bsyl committed Oct 30, 2019
1 parent f16e510 commit dab55a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/loadso/dlopen/SDL_sysloadso.c
Expand Up @@ -48,7 +48,7 @@ SDL_LoadObject(const char *sofile)
#endif

handle = dlopen(sofile, RTLD_NOW|RTLD_LOCAL);
loaderror = (char *) dlerror();
loaderror = dlerror();
if (handle == NULL) {
SDL_SetError("Failed loading %s: %s", sofile, loaderror);
}
Expand Down

0 comments on commit dab55a8

Please sign in to comment.