tangled
alpha
login
or
join now
huwcampbell.com
/
reactos
0
fork
atom
Reactos
0
fork
atom
overview
issues
pulls
pipelines
[UCRT] Add casts to make GCC happy
Timo Kreuzer
1 year ago
0cdde63c
dbd58d76
+3
-3
1 changed file
expand all
collapse all
unified
split
sdk
lib
ucrt
startup
thread.cpp
+3
-3
sdk/lib/ucrt/startup/thread.cpp
···
126
126
return nullptr;
127
127
}
128
128
129
129
-
parameter.get()->_procedure = procedure;
129
129
+
parameter.get()->_procedure = reinterpret_cast<void*>(procedure);
130
130
parameter.get()->_context = context;
131
131
132
132
// Attempt to bump the reference count of the module in which the user's
···
149
149
{
150
150
_VALIDATE_RETURN(procedure != nullptr, EINVAL, reinterpret_cast<uintptr_t>(INVALID_HANDLE_VALUE));
151
151
152
152
-
unique_thread_parameter parameter(create_thread_parameter(procedure, context));
152
152
+
unique_thread_parameter parameter(create_thread_parameter(reinterpret_cast<void*>(procedure), context));
153
153
if (!parameter)
154
154
{
155
155
return reinterpret_cast<uintptr_t>(INVALID_HANDLE_VALUE);
···
199
199
{
200
200
_VALIDATE_RETURN(procedure != nullptr, EINVAL, 0);
201
201
202
202
-
unique_thread_parameter parameter(create_thread_parameter(procedure, context));
202
202
+
unique_thread_parameter parameter(create_thread_parameter((void*)procedure, context));
203
203
if (!parameter)
204
204
{
205
205
return 0;