From 0a4c596ecba8659ec83891579e49df600dc90508 Mon Sep 17 00:00:00 2001 From: Travis McLane Date: Mon, 6 Nov 2023 12:20:10 -0600 Subject: [PATCH] [v3 darwin] typecast as ApplicationEventType --- v3/pkg/application/application_darwin.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/v3/pkg/application/application_darwin.go b/v3/pkg/application/application_darwin.go index 32fee5f6bd9..6b24748cd06 100644 --- a/v3/pkg/application/application_darwin.go +++ b/v3/pkg/application/application_darwin.go @@ -255,7 +255,7 @@ func newPlatformApp(app *App) *macosApp { //export processApplicationEvent func processApplicationEvent(eventID C.uint, data unsafe.Pointer) { - event := newApplicationEvent(int(eventID)) + event := newApplicationEvent(events.ApplicationEventType(eventID)) if data != nil { dataCStrJSON := C.serializationNSDictionary(data)