We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f65128 commit 1ccb141Copy full SHA for 1ccb141
include/pyoptinterface/dylib.hpp
@@ -83,7 +83,7 @@ class DynamicLibrary
83
fmt::print("function {} is not loaded correctly\n", #f); \
84
_load_success = false; \
85
} \
86
- _function_pointers[#f] = ptr; \
+ _function_pointers[#f] = reinterpret_cast<void *>(ptr); \
87
}
88
89
#define IS_DYLIB_LOAD_SUCCESS _load_success
0 commit comments