forked from mirrors/gecko-dev
Bug 1894328 - Add trivialish cast to deal with 32-bit builds.
MANUAL PUSH: Trivial fix CLOSED TREE
This commit is contained in:
parent
4dcfe4fd16
commit
cb7287921d
1 changed files with 2 additions and 2 deletions
|
|
@ -902,8 +902,8 @@ nsresult nsWindow::Create(nsIWidget* aParent, nsNativeWidget aNativeParent,
|
||||||
mResizable = aInitData->mResizable;
|
mResizable = aInitData->mResizable;
|
||||||
|
|
||||||
Styles desiredStyles{
|
Styles desiredStyles{
|
||||||
.style = WindowStyle(),
|
.style = static_cast<LONG_PTR>(WindowStyle()),
|
||||||
.ex = WindowExStyle(),
|
.ex = static_cast<LONG_PTR>(WindowExStyle()),
|
||||||
};
|
};
|
||||||
|
|
||||||
if (mWindowType == WindowType::Popup) {
|
if (mWindowType == WindowType::Popup) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue