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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user