Commit d661e1a2 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

MSVC does not like the typeof() in the function pointer declaration.

Fix a warning.
parent 91562d5b
......@@ -24,7 +24,7 @@
#include "wine/test.h"
static typeof(ImageList_DrawIndirect) * pImageList_DrawIndirect = NULL;
static BOOL (WINAPI *pImageList_DrawIndirect)(IMAGELISTDRAWPARAMS*) = NULL;
static HDC desktopDC;
......@@ -238,7 +238,7 @@ static BOOL DoTest3(void)
if (!pImageList_DrawIndirect)
{
HMODULE hComCtl32 = LoadLibraryA("comctl32.dll");
pImageList_DrawIndirect = GetProcAddress(hComCtl32, "ImageList_DrawIndirect");
pImageList_DrawIndirect = (void*)GetProcAddress(hComCtl32, "ImageList_DrawIndirect");
if (!pImageList_DrawIndirect)
{
trace("ImageList_DrawIndirect not available, skipping test\n");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment