* fixed compilation on targets where tthreadid is not an integer type after

r17992

git-svn-id: trunk@17993 -
This commit is contained in:
Jonas Maebe 2011-07-16 12:03:35 +00:00
parent 5c3aca5148
commit d85ccd7418

View File

@ -73,7 +73,7 @@ Var
{$endif FPC_HAS_FEATURE_CONSOLEIO}
{ Support platforms where threadvar memory is managed outside of the RTL:
reset ThreadID and allow ReleaseThreadVars to be unassigned }
ThreadID := 0;
ThreadID := TThreadID(0);
if assigned(CurrentTM.ReleaseThreadVars) then
CurrentTM.ReleaseThreadVars;
end;