diff --git a/ThunkLibs/include/common/Guest.h b/ThunkLibs/include/common/Guest.h index d5feae9c7..e0414761a 100644 --- a/ThunkLibs/include/common/Guest.h +++ b/ThunkLibs/include/common/Guest.h @@ -114,7 +114,7 @@ inline Result CallHostFunction(Args... args) { template static auto GetCallerForHostFunction(Result (*host_func)(Args...)) -> Result(*)(Args...) { - return CallHostFunction, Result, Args...>; + return &CallHostFunction, Result, Args...>; } // Ensures the given host function can safely be called from guest code.