Fix BSTR tracing in the typelib marshaller.

This commit is contained in:
Mike Hearn 2005-03-27 18:20:10 +00:00 committed by Alexandre Julliard
parent 3a522f3d71
commit edcbd13665
1 changed files with 2 additions and 2 deletions

View File

@ -567,8 +567,8 @@ serialize_param(
case VT_BSTR: {
if (debugout) {
if (arg)
TRACE_(olerelay)("%s",relaystr((BSTR)*arg));
if (*arg)
TRACE_(olerelay)("%s",relaystr((WCHAR*)*arg));
else
TRACE_(olerelay)("<bstr NULL>");
}