Skip to content

Commit 1ccb141

Browse files
committed
Fix CI
1 parent 4f65128 commit 1ccb141

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/pyoptinterface/dylib.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ class DynamicLibrary
8383
fmt::print("function {} is not loaded correctly\n", #f); \
8484
_load_success = false; \
8585
} \
86-
_function_pointers[#f] = ptr; \
86+
_function_pointers[#f] = reinterpret_cast<void *>(ptr); \
8787
}
8888

8989
#define IS_DYLIB_LOAD_SUCCESS _load_success

0 commit comments

Comments
 (0)