Readability: remove redundant cast

This commit is contained in:
Sylvain Becker 2019-10-30 16:20:58 +01:00
parent f16e51068b
commit dab55a8d23

View File

@ -48,7 +48,7 @@ SDL_LoadObject(const char *sofile)
#endif #endif
handle = dlopen(sofile, RTLD_NOW|RTLD_LOCAL); handle = dlopen(sofile, RTLD_NOW|RTLD_LOCAL);
loaderror = (char *) dlerror(); loaderror = dlerror();
if (handle == NULL) { if (handle == NULL) {
SDL_SetError("Failed loading %s: %s", sofile, loaderror); SDL_SetError("Failed loading %s: %s", sofile, loaderror);
} }