summary refs log tree commit diff stats
path: root/src/common/sysinfo/win32
diff options
context:
space:
mode:
authorPatrick Griffis <tingping@tingping.se>2018-03-05 19:25:08 -0500
committerPatrick Griffis <tingping@tingping.se>2018-03-09 18:23:25 +0000
commite9b9ff9f38abc82c0a5002d5e58a5c226b698f82 (patch)
treea9fa9c40111985faae17348ce47293a048dd6bbb /src/common/sysinfo/win32
parent9b8a7eaa0147c6a564c1d1401d57cc685461e320 (diff)
Various fixes for mingw
Diffstat (limited to 'src/common/sysinfo/win32')
-rw-r--r--src/common/sysinfo/win32/backend.c2
1 files changed, 1 insertions, 1 deletions
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;