From e9b9ff9f38abc82c0a5002d5e58a5c226b698f82 Mon Sep 17 00:00:00 2001 From: Patrick Griffis Date: Mon, 5 Mar 2018 19:25:08 -0500 Subject: Various fixes for mingw --- src/common/sysinfo/win32/backend.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/common/sysinfo') diff --git a/src/common/sysinfo/win32/backend.c b/src/common/sysinfo/win32/backend.c index 64e9405a..1d88b139 100644 --- a/src/common/sysinfo/win32/backend.c +++ b/src/common/sysinfo/win32/backend.c @@ -174,7 +174,7 @@ static char *query_wmi (QueryWmiType type) goto release_locator; } - hr = namespace->lpVtbl->QueryInterface (namespace, &IID_IUnknown, &namespaceUnknown); + hr = namespace->lpVtbl->QueryInterface (namespace, &IID_IUnknown, (void**)&namespaceUnknown); if (FAILED (hr)) { goto release_namespace; -- cgit 1.4.1