Explorar o código

* fix definition of function pointer to be passed to pthread_create

git-svn-id: trunk@16267 -
tom_at_work %!s(int64=15) %!d(string=hai) anos
pai
achega
88687b2125
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;