Parcourir la source

* fix definition of function pointer to be passed to pthread_create

git-svn-id: trunk@16267 -
tom_at_work il y a 15 ans
Parent
commit
88687b2125
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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;