Changeset 34507 in vbox for trunk/src/VBox/Runtime/r3/win/tls-win.cpp
- Timestamp:
- Nov 30, 2010 1:14:14 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/win/tls-win.cpp
r28800 r34507 69 69 if (iTls == NIL_RTTLS) 70 70 return VINF_SUCCESS; 71 if (TlsFree( iTls))71 if (TlsFree((DWORD)iTls)) 72 72 return VINF_SUCCESS; 73 73 return RTErrConvertFromWin32(GetLastError()); 74 75 74 } 76 75 … … 78 77 RTR3DECL(void *) RTTlsGet(RTTLS iTls) 79 78 { 80 return TlsGetValue( iTls);79 return TlsGetValue((DWORD)iTls); 81 80 } 82 81 … … 84 83 RTR3DECL(int) RTTlsGetEx(RTTLS iTls, void **ppvValue) 85 84 { 86 void *pv = TlsGetValue( iTls);85 void *pv = TlsGetValue((DWORD)iTls); 87 86 if (pv) 88 87 { … … 99 98 RTR3DECL(int) RTTlsSet(RTTLS iTls, void *pvValue) 100 99 { 101 if (TlsSetValue( iTls, pvValue))100 if (TlsSetValue((DWORD)iTls, pvValue)) 102 101 return VINF_SUCCESS; 103 102 return RTErrConvertFromWin32(GetLastError());
Note:
See TracChangeset
for help on using the changeset viewer.