فهرست منبع

* fixed debug code for 64 bit

git-svn-id: trunk@5913 -
Jonas Maebe 18 سال پیش
والد
کامیت
157e5eb02e
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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