From 275f18a32412276d23d43320ab48a17b224aeacb Mon Sep 17 00:00:00 2001 From: "Carl Miller, Jr" <19718484+halian@users.noreply.github.com> Date: Tue, 24 Aug 2021 23:09:06 -0400 Subject: [PATCH] make Mac OS X+ binary build again --- src/gui/update_checker.cpp | 2 +- src/util/io/get_member.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gui/update_checker.cpp b/src/gui/update_checker.cpp index a921d12c..a6c6b774 100644 --- a/src/gui/update_checker.cpp +++ b/src/gui/update_checker.cpp @@ -92,7 +92,7 @@ bool update_available() { class CheckUpdateThread : public wxThread { public: void* Entry() override { - Work(); +// Work(); return 0; } diff --git a/src/util/io/get_member.cpp b/src/util/io/get_member.cpp index eba0c8ad..f76e6560 100644 --- a/src/util/io/get_member.cpp +++ b/src/util/io/get_member.cpp @@ -27,6 +27,7 @@ template <> void GetDefaultMember::handle(const tribool& v) { value = to_sc template <> void GetDefaultMember::handle(const Vector2D& v) { value = to_script(String::Format(_("(%.10lf,%.10lf)"), v.x, v.y)); } template <> void GetDefaultMember::handle(const Color& v) { value = to_script(v); } template <> void GetDefaultMember::handle(const wxDateTime& v) { value = to_script(v); } +template <> void GetDefaultMember::handle(const unsigned long& v) { value = to_script((int)v); } void GetDefaultMember::handle(const ScriptValueP& v) { value = v; } void GetDefaultMember::handle(const ScriptP& v) { value = v; }