summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2013-07-30 14:22:51 +0300
committerTor Lillqvist <tml@iki.fi>2013-07-30 14:23:14 +0300
commit176fc56e89ca8cad0d390789e7376750765b1b0f (patch)
treed6bbe6090f9fd806bfa4ca6dd4102aeab208d5d4
parentRelated: fdo#67378 rows missing HIG 6pixel spacing (diff)
downloadcore-176fc56e89ca8cad0d390789e7376750765b1b0f.tar.gz
core-176fc56e89ca8cad0d390789e7376750765b1b0f.zip
WaE: cast to 'id' from smaller integer type 'int'
Change-Id: I0106bac830416ef9743787b309ca2821dd6adc89
-rw-r--r--vcl/aqua/source/window/salframeview.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/aqua/source/window/salframeview.mm b/vcl/aqua/source/window/salframeview.mm
index 4680965f99b8..86271dda72cf 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