mirror of
https://github.com/reactos/reactos.git
synced 2024-07-13 16:15:05 +00:00
[WINE/TEST.H]
Add explicit casts, so that the header can be used from C++ svn path=/trunk/; revision=62465
This commit is contained in:
parent
88a9cdffba
commit
1ff93cb52e
|
@ -254,10 +254,10 @@ static tls_data* get_tls_data(void)
|
|||
DWORD last_error;
|
||||
|
||||
last_error=GetLastError();
|
||||
data=TlsGetValue(tls_index);
|
||||
data=(tls_data*)TlsGetValue(tls_index);
|
||||
if (!data)
|
||||
{
|
||||
data=HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(tls_data));
|
||||
data=(tls_data*)HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(tls_data));
|
||||
data->str_pos = data->strings;
|
||||
TlsSetValue(tls_index,data);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue