X-Git-Url: http://git.buserror.net/cgi-bin/gitweb.cgi?p=polintos%2Fscott%2Fpriv.git;a=blobdiff_plain;f=idlcomp%2Flanguages%2Fc%2B%2B%2Finterface-caller.cc;h=2d8c51d4f91badc4a7e38d73ebf4a7a2923d13aa;hp=4d17670e0c62ebd7f38eb5350d672f6f2c85a94a;hb=5adc890ffae4f90536e72bc32ef83e1141689520;hpb=f8bdc6f9e7106aa7786ee19269ab9a2e4c307476 diff --git a/idlcomp/languages/c++/interface-caller.cc b/idlcomp/languages/c++/interface-caller.cc index 4d17670..2d8c51d 100644 --- a/idlcomp/languages/c++/interface-caller.cc +++ b/idlcomp/languages/c++/interface-caller.cc @@ -283,8 +283,8 @@ void CPPFile::output_downcast(Interface *iface, Interface *super) << indent << "\treinterpret_cast< ::System::_i_Object *>(oldptr._ptr);\n" << indent << "return " << name << "(reinterpret_cast< " << iname << " *>\n" - << indent << "\t(::System::RunTime::downcast(_llptr, " - << name << "_ns::_guid.l)));\n"; + << indent << "\t(::System::RunTime::downcast(_llptr, &" + << name << "_ns::_guid)));\n"; indent.indent_level--;