Skip to content
Browse files

Remove a useless cast in sc_dlopen()

  • Loading branch information...
1 parent d3c13fd commit b9c43b9214b843ec55875632b8d9a6a0fae6ad80 @LudovicRousseau LudovicRousseau committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/common/libscdl.c
View
2 src/common/libscdl.c
@@ -75,7 +75,7 @@ int sc_dlclose(void *handle)
/* Use native interfaces */
void *sc_dlopen(const char *filename)
{
- return (void *)dlopen(filename, RTLD_LAZY);
+ return dlopen(filename, RTLD_LAZY);
}
void *sc_dlsym(void *handle, const char *symbol)

0 comments on commit b9c43b9

Please sign in to comment.
Something went wrong with that request. Please try again.