[Libreoffice-commits] core.git: vcl/aqua
Tor Lillqvist
tml at iki.fi
Tue Jul 30 04:23:45 PDT 2013
vcl/aqua/source/window/salframeview.mm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 176fc56e89ca8cad0d390789e7376750765b1b0f
Author: Tor Lillqvist <tml at iki.fi>
Date: Tue Jul 30 14:22:51 2013 +0300
WaE: cast to 'id' from smaller integer type 'int'
Change-Id: I0106bac830416ef9743787b309ca2821dd6adc89
diff --git a/vcl/aqua/source/window/salframeview.mm b/vcl/aqua/source/window/salframeview.mm
index 4680965..86271dd 100644
--- a/vcl/aqua/source/window/salframeview.mm
+++ b/vcl/aqua/source/window/salframeview.mm
@@ -166,7 +166,7 @@ static AquaSalFrame* getMouseContainerFrame()
if( bAllowFullScreen && [pNSWindow respondsToSelector: setCollectionBehavior])
{
const int bMode= (bAllowFullScreen ? NSWindowCollectionBehaviorFullScreenPrimary : NSWindowCollectionBehaviorFullScreenAuxiliary);
- [pNSWindow performSelector:setCollectionBehavior withObject:(id)bMode];
+ [pNSWindow performSelector:setCollectionBehavior withObject:(id)(intptr_t)bMode];
}
// disable OSX>=10.7 window restoration until we support it directly
More information about the Libreoffice-commits
mailing list