X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/b1f2c74d7aca187772c2f009fda4a3043eb9686f..25c5bd4fe8c9fd7c4898e7dfbbdbf68dc172dcd7:/projects/stargazer/store_loader.cpp diff --git a/projects/stargazer/store_loader.cpp b/projects/stargazer/store_loader.cpp index c54bdb36..d27c0902 100644 --- a/projects/stargazer/store_loader.cpp +++ b/projects/stargazer/store_loader.cpp @@ -79,7 +79,7 @@ if (!handle) isLoaded = true; STORE * (*GetStore)(); -GetStore = (STORE * (*)())dlsym(handle, "GetStore"); +GetStore = reinterpret_cast(dlsym(handle, "GetStore")); if (!GetStore) { errorStr = std::string("GetStore() not found! ") + dlerror();