summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Jezabek <jezabek@poczta.onet.pl>2008-09-17 19:50:51 +0000
committerJan Jezabek <jezabek@poczta.onet.pl>2008-09-17 19:50:51 +0000
commit5a40aeecc09380d0078f1e224f24e996c7996add (patch)
tree3f90506e83a3ca58054da9c9707ba76c3fc62fa2
parent38f5a42602ac6f2cf26f9b255246b1f4d97cf52e (diff)
downloadswig-5a40aeecc09380d0078f1e224f24e996c7996add.tar.gz
Fix for C wrappers.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2008-jezabek@10861 626c5289-ae23-0410-ae9c-e8d60b6d4f22
-rw-r--r--Lib/com/com.swg2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/com/com.swg b/Lib/com/com.swg
index afcb72ab9..922e168df 100644
--- a/Lib/com/com.swg
+++ b/Lib/com/com.swg
@@ -414,7 +414,7 @@ void SWIG_SetErrorInfo(const wchar_t *msg, const wchar_t *source, const GUID *gu
((HRESULT (SWIGSTDCALL *)(SWIGIUnknown *, LPCOLESTR)) icei->vtable[5])(icei, msg);
/* Use QueryInterface to convert ICreateErrorInfo to IErrorInfo */
- ((HRESULT (SWIGSTDCALL *)(SWIGIUnknown *, REFGUID, LPVOID *)) icei->vtable[0])(icei, IID_IErrorInfo, (void **) &iei);
+ ((HRESULT (SWIGSTDCALL *)(SWIGIUnknown *, const GUID *, LPVOID *)) icei->vtable[0])(icei, &IID_IErrorInfo, (void **) &iei);
SetErrorInfo(0, iei);