From 628f4975864a504052ce854749f287a248b54e58 Mon Sep 17 00:00:00 2001 From: Twan van Laarhoven Date: Mon, 28 Sep 2020 02:05:19 +0200 Subject: [PATCH] size_t == unsigned int in 32 bit builds --- src/util/io/get_member.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/io/get_member.cpp b/src/util/io/get_member.cpp index 22a0756a..eba0c8ad 100644 --- a/src/util/io/get_member.cpp +++ b/src/util/io/get_member.cpp @@ -20,7 +20,7 @@ using boost::tribool; template <> void GetDefaultMember::handle(const String& v) { value = to_script(v); } template <> void GetDefaultMember::handle(const int& v) { value = to_script(v); } template <> void GetDefaultMember::handle(const unsigned int& v) { value = to_script((int)v); } -template <> void GetDefaultMember::handle(const size_t& v) { value = to_script((int)v); } +template <> void GetDefaultMember::handle(const uint64_t& v) { value = to_script((int)v); } template <> void GetDefaultMember::handle(const double& v) { value = to_script(v); } template <> void GetDefaultMember::handle(const bool& v) { value = to_script(v); } template <> void GetDefaultMember::handle(const tribool& v) { value = to_script((bool)v); }