Skip to content

Commit

Permalink
[v3 darwin] typecast as ApplicationEventType
Browse files Browse the repository at this point in the history
  • Loading branch information
tmclane committed Nov 6, 2023
1 parent d2e0e0e commit 0a4c596
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion v3/pkg/application/application_darwin.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 0a4c596

Please sign in to comment.