diff options
author | Michael R. Fisher <mfisher@bketech.com> | 2013-07-15 16:35:20 -0500 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2013-08-08 15:23:09 -0400 |
commit | e38cb7de367ebb3a1d2c161bc885d6fd41c55dc8 (patch) | |
tree | a782762d7a864c21b4697f13de12648a4c3ab8f1 /gtk2_ardour/au_pluginui.mm | |
parent | 6602c6659eaa5e88f4edb6005581e86437017e56 (diff) |
OSX GUI - Prevent compiler errors when -std=c++11 is switched on
Diffstat (limited to 'gtk2_ardour/au_pluginui.mm')
-rw-r--r-- | gtk2_ardour/au_pluginui.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/au_pluginui.mm b/gtk2_ardour/au_pluginui.mm index 7bebcee84f..bbae272116 100644 --- a/gtk2_ardour/au_pluginui.mm +++ b/gtk2_ardour/au_pluginui.mm @@ -658,7 +658,7 @@ AUPluginUI::parent_cocoa_window () /* move the au_view down so that it doesn't overlap the top_box contents */ - NSPoint origin = { 0, a.height }; + NSPoint origin = { 0, static_cast<CGFloat> (a.height) }; [au_view setFrameOrigin:origin]; [view addSubview:au_view positioned:NSWindowBelow relativeTo:nil]; |