Fixed use of __uuidof in strict c++0x mode git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/trunk@4313 4407c894-4637-0410-b4f5-ada5f102cad1
diff --git a/mingw-w64-headers/include/unknwn.h b/mingw-w64-headers/include/unknwn.h index 4274350..cc3d83e 100644 --- a/mingw-w64-headers/include/unknwn.h +++ b/mingw-w64-headers/include/unknwn.h
@@ -67,7 +67,7 @@ virtual HRESULT WINAPI QueryInterface(REFIID riid,void **ppvObject) = 0; virtual ULONG WINAPI AddRef(void) = 0; virtual ULONG WINAPI Release(void) = 0; - template<class Q> HRESULT WINAPI QueryInterface(Q **pp) { return QueryInterface(__uuidof(Q),(void **)pp); } + template<class Q> HRESULT WINAPI QueryInterface(Q **pp) { return QueryInterface(__uuidof(*pp),(void **)pp); } END_INTERFACE }; }