mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 12:23:25 +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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user