$OpenBSD$ index 8bc5254..a6597cb 100644 --- widget/cocoa/nsChildView.mm.orig Fri Feb 20 15:40:39 2015 +++ widget/cocoa/nsChildView.mm Fri Feb 20 15:40:39 2015 @@ -1383,7 +1383,7 @@ nsresult nsChildView::SynthesizeNativeMouseEvent(nsIntPoint aPoint, NSPoint screenPoint = NSMakePoint(pt.x, nsCocoaUtils::FlippedScreenY(pt.y)); NSPoint windowPoint = [[mView window] convertScreenToBase:screenPoint]; - NSEvent* event = [NSEvent mouseEventWithType:aNativeMessage + NSEvent* event = [NSEvent mouseEventWithType:(NSEventType)aNativeMessage location:windowPoint modifierFlags:aModifierFlags timestamp:[NSDate timeIntervalSinceReferenceDate]