From 1ff93cb52e6f70b7a4d27fda7de5301116be12a8 Mon Sep 17 00:00:00 2001 From: Timo Kreuzer Date: Sun, 9 Mar 2014 12:48:25 +0000 Subject: [PATCH] [WINE/TEST.H] Add explicit casts, so that the header can be used from C++ svn path=/trunk/; revision=62465 --- reactos/include/reactos/wine/test.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/include/reactos/wine/test.h b/reactos/include/reactos/wine/test.h index 5d1eb4aa7b9..04f9ab4fe15 100644 --- a/reactos/include/reactos/wine/test.h +++ b/reactos/include/reactos/wine/test.h @@ -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); }