summaryrefslogtreecommitdiff
path: root/packages/pthreads
diff options
context:
space:
mode:
authortom_at_work <tom_at_work@3ad0048d-3df7-0310-abae-a5850022a9f2>2010-10-30 18:19:11 +0000
committertom_at_work <tom_at_work@3ad0048d-3df7-0310-abae-a5850022a9f2>2010-10-30 18:19:11 +0000
commit1e92c27487488d26c2acd0e73dde2a24ba6f375f (patch)
tree14e215bf0c9b2963c6c3798fec0447bc9ee17d3b /packages/pthreads
parenta69c068f8e8d291e2a81c6329ff528945d76cd00 (diff)
downloadfpc-1e92c27487488d26c2acd0e73dde2a24ba6f375f.tar.gz
* fix definition of function pointer to be passed to pthread_create
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@16267 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'packages/pthreads')
-rw-r--r--packages/pthreads/src/pthrlinux.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/pthreads/src/pthrlinux.inc b/packages/pthreads/src/pthrlinux.inc
index d68974dd27..7ca7eba135 100644
--- a/packages/pthreads/src/pthrlinux.inc
+++ b/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;