From f0923c00ddde4245bcfeae22a39449055fb2550b Mon Sep 17 00:00:00 2001 From: "Christopher A. Mosher" Date: Sun, 11 Dec 2022 19:41:04 -0500 Subject: [PATCH] fix windows build --- src/cassette.cpp | 2 +- src/emulator.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cassette.cpp b/src/cassette.cpp index 5a1691f..fad32f6 100644 --- a/src/cassette.cpp +++ b/src/cassette.cpp @@ -65,7 +65,7 @@ static int askSave() { nullptr, "You have unsaved changes to your tape image.\nDo you want to SAVE them?", "Save changes", - wxYES_NO|wxCANCEL|wxCANCEL_DEFAULT}; + (long)(wxYES_NO|wxCANCEL|wxCANCEL_DEFAULT)}; return dlg->ShowModal(); } diff --git a/src/emulator.cpp b/src/emulator.cpp index 75b19a7..3c10053 100644 --- a/src/emulator.cpp +++ b/src/emulator.cpp @@ -488,7 +488,7 @@ static int askSave() { nullptr, "You have unsaved changes to your floppy disk images.\nDo you want to SAVE them?", "Save changes", - wxYES_NO|wxCANCEL|wxCANCEL_DEFAULT}; + (long)(wxYES_NO|wxCANCEL|wxCANCEL_DEFAULT)}; return dlg->ShowModal(); }