Skip to content

Commit

Permalink
clang warning
Browse files Browse the repository at this point in the history
  • Loading branch information
matcool committed Feb 1, 2025
1 parent ea35c76 commit 346141b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion loader/include/Geode/loader/Dispatch.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ Result<int> api::addNumbers(int a, int b) {

// once this is set in stone we should not change it ever
#define GEODE_EVENT_EXPORT_ID_FOR(fnPtrStr, callArgsStr) \
(std::string(MY_MOD_ID "/") + (fnPtrStr[0] == '&' ? (fnPtrStr + 1) : fnPtrStr))
(std::string(MY_MOD_ID "/") + (fnPtrStr[0] == '&' ? &fnPtrStr[1] : fnPtrStr))

#define GEODE_EVENT_EXPORT_CALL(fnPtr, callArgs, eventID) \
{ \
Expand Down

0 comments on commit 346141b

Please sign in to comment.