From 1ccb14130dd6973c013ce1fddaf99b613a07bcbc Mon Sep 17 00:00:00 2001 From: metab0t Date: Fri, 22 Nov 2024 21:55:20 +0800 Subject: [PATCH] Fix CI --- include/pyoptinterface/dylib.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/pyoptinterface/dylib.hpp b/include/pyoptinterface/dylib.hpp index 27c4382..659960a 100644 --- a/include/pyoptinterface/dylib.hpp +++ b/include/pyoptinterface/dylib.hpp @@ -83,7 +83,7 @@ class DynamicLibrary fmt::print("function {} is not loaded correctly\n", #f); \ _load_success = false; \ } \ - _function_pointers[#f] = ptr; \ + _function_pointers[#f] = reinterpret_cast(ptr); \ } #define IS_DYLIB_LOAD_SUCCESS _load_success