and there's another instance of the build-busting old cast still in the file

git-svn-id: svn://10.0.0.236/trunk@55585 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
scc%netscape.com
1999-12-07 15:51:21 +00:00
parent e23f78e0d1
commit dba31d43b3

View File

@@ -137,7 +137,7 @@ int main(int argc, char *argv[])
if (NS_SUCCEEDED(rv)) {
rv = inst->QueryInterface(NS_GET_IID(nsIObserver),(void**)&anObserver);
cout << "Calling observe on enumerated observer "
<< ((TestObserver*)inst)->mName << "..." << endl;
<< NS_REINTERPRET_CAST(TestObserver*, NS_REINTERPRET_CAST(void*, inst))->mName << "..." << endl;
rv = anObserver->Observe( inst, topicA.GetUnicode(), nsString("during enumeration").GetUnicode() );
testResult(rv);
}