Bug 1256501: Fix warning C4312 with 64-bit VS2015 in widget/windows/nsWindow.cpp; r=jimm

MozReview-Commit-ID: 4JdQs90t4Fe

--HG--
extra : rebase_source : 1c974f4536f72f625a4e594d31ac06e7071d15b3
This commit is contained in:
Aaron Klotz 2016-03-21 13:27:00 -06:00
parent b93503b5e7
commit e164a07c1e

View File

@ -2209,7 +2209,7 @@ nsWindow::UpdateGetWindowInfoCaptionStatus(bool aActiveCaption)
}
// Update our internally tracked caption status
SetPropW(mWnd, kManageWindowInfoProperty,
reinterpret_cast<HANDLE>(static_cast<int>(aActiveCaption) + 1));
reinterpret_cast<HANDLE>(static_cast<INT_PTR>(aActiveCaption) + 1));
}
/**