mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-20 22:16:49 +01:00
Readability: remove redundant cast
This commit is contained in:
parent
f16e51068b
commit
dab55a8d23
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user