Skip to content
Snippets Groups Projects
Commit 55139257 authored by deuce's avatar deuce
Browse files

Fix cast of return type.

On FreeBSD/sparc64 for example, this truncated the thread ID.
parent a168c6bc
No related branches found
No related tags found
No related merge requests found
......@@ -88,7 +88,7 @@ ulong _beginthread(void( *start_address )( void * )
,(void * (*)(void *)) start_address
,arglist)==0) {
pthread_attr_destroy(&attr);
return((int) thread /* thread handle */);
return((ulong) thread /* thread handle */);
}
pthread_attr_destroy(&attr);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment