Преглед изворни кода

* fix definition of function pointer to be passed to pthread_create

git-svn-id: trunk@16267 -
tom_at_work пре 15 година
родитељ
комит
88687b2125
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      packages/pthreads/src/pthrlinux.inc

+ 1 - 1
packages/pthreads/src/pthrlinux.inc

@@ -90,7 +90,7 @@ type
 
   // procedural types used in parameters to pthread functions
 
-  TStartRoutine = function (_para1:pointer): cint; cdecl;
+  TStartRoutine = function (_para1:pointer): Pointer; cdecl;
   TKeyValueDestructor = procedure(ValueInKey: Pointer); cdecl;
   TInitOnceProc = Procedure;cdecl;
   TForkHandler = procedure; cdecl;