Skip to content

Commit

Permalink
Fixed return type of thread func
Browse files Browse the repository at this point in the history
  • Loading branch information
alxvasilev committed Dec 15, 2014
1 parent 8f88653 commit 190c20b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mingw.thread.h
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class thread
(LPVOID)call, 0, (unsigned*)&(mThreadId.mId));
}
template <class Call>
static unsigned long __stdcall threadfunc(void* arg)
static unsigned int __stdcall threadfunc(void* arg)
{
std::unique_ptr<Call> upCall(static_cast<Call*>(arg));
(*upCall)();
Expand Down

0 comments on commit 190c20b

Please sign in to comment.