Changeset 11790 in vbox
- Timestamp:
- Aug 28, 2008 7:53:30 PM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 35575
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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)
Note:
See TracChangeset
for help on using the changeset viewer.