Changeset 11790
- Timestamp:
- 08/28/08 21:53:30 (3 months ago)
- Files:
-
- trunk/src/VBox/Runtime/r3/posix/tls-posix.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/VBox/Runtime/r3/posix/tls-posix.cpp
r8245 r11790 48 48 RTR3DECL(int) RTTlsAlloc(void) 49 49 { 50 pthread_key_t iTls = NIL_RTTLS;50 pthread_key_t iTls = (pthread_key_t)NIL_RTTLS; 51 51 int rc = pthread_key_create(&iTls, NULL); 52 52 if (!rc) … … 61 61 RTR3DECL(int) RTTlsAllocEx(PRTTLS piTls, PFNRTTLSDTOR pfnDestructor) 62 62 { 63 pthread_key_t iTls = NIL_RTTLS;63 pthread_key_t iTls = (pthread_key_t)NIL_RTTLS; 64 64 int rc = pthread_key_create(&iTls, pfnDestructor); 65 65 if (!rc)

