[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:
Timo Kreuzer 2014-03-09 12:48:25 +00:00
parent 88a9cdffba
commit 1ff93cb52e

View file

@ -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);
}