mirror of
https://github.com/yawut/SDL.git
synced 2026-09-13 11:36:32 -05:00
Readability: remove redundant cast
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user