diff options
author | Patrick Griffis <tingping@tingping.se> | 2018-03-05 19:25:08 -0500 |
---|---|---|
committer | Patrick Griffis <tingping@tingping.se> | 2018-03-09 18:23:25 +0000 |
commit | e9b9ff9f38abc82c0a5002d5e58a5c226b698f82 (patch) | |
tree | a9fa9c40111985faae17348ce47293a048dd6bbb /src/common/sysinfo | |
parent | 9b8a7eaa0147c6a564c1d1401d57cc685461e320 (diff) |
Various fixes for mingw
Diffstat (limited to 'src/common/sysinfo')
-rw-r--r-- | src/common/sysinfo/win32/backend.c | 2 |
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; |