Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1diff --git a/apps/openmw-mp/Script/Types.hpp b/apps/openmw-mp/Script/Types.hpp 2index be365cfb8..204dcdc7b 100644 3--- a/apps/openmw-mp/Script/Types.hpp 4+++ b/apps/openmw-mp/Script/Types.hpp 5@@ -105,7 +105,7 @@ struct ScriptFunctionPointer : public ScriptIdentity 6 void *addr; 7 #if (!defined(__clang__) && defined(__GNUC__)) 8 template<typename R, typename... Types> 9- constexpr ScriptFunctionPointer(Function<R, Types...> addr) : ScriptIdentity(addr), addr((void*)(addr)) {} 10+ constexpr ScriptFunctionPointer(Function<R, Types...> addr) : ScriptIdentity(addr), addr(addr) {} 11 #else 12 template<typename R, typename... Types> 13 constexpr ScriptFunctionPointer(Function<R, Types...> addr) : ScriptIdentity(addr), addr(addr) {}