Bug 1894328 - Add trivialish cast to deal with 32-bit builds.

MANUAL PUSH: Trivial fix CLOSED TREE
This commit is contained in:
Emilio Cobos Álvarez 2024-05-07 20:07:45 +02:00
parent 4dcfe4fd16
commit cb7287921d

View file

@ -902,8 +902,8 @@ nsresult nsWindow::Create(nsIWidget* aParent, nsNativeWidget aNativeParent,
mResizable = aInitData->mResizable;
Styles desiredStyles{
.style = WindowStyle(),
.ex = WindowExStyle(),
.style = static_cast<LONG_PTR>(WindowStyle()),
.ex = static_cast<LONG_PTR>(WindowExStyle()),
};
if (mWindowType == WindowType::Popup) {