persistent waveform shape setting.
[ardour.git] / gtk2_ardour / au_pluginui.mm
index 7bebcee84ff519559295ab9d4516025007cb5a0b..bbae2721165946416ba13b5aaf88da0c989e154d 100644 (file)
@@ -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];