git.stg.codes
/
stg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Cosmetic changes.
[stg.git]
/
projects
/
stargazer
/
store_loader.cpp
diff --git
a/projects/stargazer/store_loader.cpp
b/projects/stargazer/store_loader.cpp
index c54bdb361cc2e0b0dfb9884ce1f080dcfa873fc3..d27c09023603f8745a02df66554d84cff694c862 100644
(file)
--- 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<STORE * (*)()>(dlsym(handle, "GetStore")
);
if (!GetStore)
{
errorStr = std::string("GetStore() not found! ") + dlerror();