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 061bc6f commit ca75618Copy full SHA for ca75618
include/boost/interprocess/detail/win32_api.hpp
@@ -1038,7 +1038,7 @@ struct function_address_holder
1038
}
1039
1040
public:
1041
- static farproc_t get(const unsigned int id)
+ static void* get(const unsigned int id)
1042
{
1043
BOOST_ASSERT(id < (unsigned int)NumFunction);
1044
for(unsigned i = 0; FunctionStates[id] < 2; ++i){
@@ -1054,7 +1054,7 @@ struct function_address_holder
1054
sleep_tick();
1055
1056
1057
- return FunctionAddresses[id];
+ return reinterpret_cast<void*>(FunctionAddresses[id]);
1058
1059
};
1060
0 commit comments