Explorar o código

* fixed debug code for 64 bit

git-svn-id: trunk@5913 -
Jonas Maebe %!s(int64=18) %!d(string=hai) anos
pai
achega
157e5eb02e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      rtl/unix/tthread.inc

+ 1 - 1
rtl/unix/tthread.inc

@@ -76,7 +76,7 @@ var
 begin
 begin
   WRITE_DEBUG('ThreadFunc is here...');
   WRITE_DEBUG('ThreadFunc is here...');
   LThread := TThread(parameter);
   LThread := TThread(parameter);
-  WRITE_DEBUG('thread initing, parameter = ', LongInt(LThread));
+  WRITE_DEBUG('thread initing, parameter = ', ptrint(LThread));
   try
   try
     // wait until AfterConstruction has been called, so we cannot
     // wait until AfterConstruction has been called, so we cannot
     // free ourselves before TThread.Create has finished
     // free ourselves before TThread.Create has finished