mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-14 18:51:28 +00:00
Bug 1319118 - Don't clobber half of a 64-bit window ID by assigning it to a 32-bit variable; r=mcmanus
This is the textbook use case for the auto keyword. :)
This commit is contained in:
parent
58e976f33d
commit
a5c45faa60
@ -2189,7 +2189,7 @@ HttpBaseChannel::AddSecurityMessage(const nsAString &aMessageTag,
|
||||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
|
||||
uint32_t innerWindowID = loadInfo->GetInnerWindowID();
|
||||
auto innerWindowID = loadInfo->GetInnerWindowID();
|
||||
|
||||
nsXPIDLString errorText;
|
||||
rv = nsContentUtils::GetLocalizedString(
|
||||
|
Loading…
Reference in New Issue
Block a user