Browse Source

* fix definition of function pointer to be passed to pthread_create

git-svn-id: trunk@16267 -
tom_at_work 14 years ago
parent
commit
88687b2125
1 changed files with 1 additions and 1 deletions
  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;