* fix for range error on some platforms

git-svn-id: trunk@178 -
This commit is contained in:
Tomas Hajny 2005-06-03 04:52:24 +00:00
parent 809d10c0a6
commit d035b0c0d3

View File

@ -307,7 +307,7 @@ Type PINTRTLEvent = ^TINTRTLEvent;
function CGetCurrentThreadId : TThreadID;
begin
CGetCurrentThreadId:=dword(pthread_self());
CGetCurrentThreadId := TThreadID (pthread_self());
end;