mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-14 17:10:02 +02:00
* fix for range error on some platforms
git-svn-id: trunk@178 -
This commit is contained in:
parent
809d10c0a6
commit
d035b0c0d3
@ -307,7 +307,7 @@ Type PINTRTLEvent = ^TINTRTLEvent;
|
||||
|
||||
function CGetCurrentThreadId : TThreadID;
|
||||
begin
|
||||
CGetCurrentThreadId:=dword(pthread_self());
|
||||
CGetCurrentThreadId := TThreadID (pthread_self());
|
||||
end;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user