Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros.
This commit is contained in:
@@ -110,7 +110,7 @@ nsControllerCommandTable::FindCommandHandler(const char * aCommandName, nsIContr
|
||||
if (!foundCommand) return NS_ERROR_FAILURE;
|
||||
|
||||
// no need to addref since the .Get does it for us
|
||||
*outCommand = NS_REINTERPRET_CAST(nsIControllerCommand*, foundCommand);
|
||||
*outCommand = reinterpret_cast<nsIControllerCommand*>(foundCommand);
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user