소스 검색

* 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;