Skip to content

Commit 628f497

Browse files
committed
size_t == unsigned int in 32 bit builds
1 parent 21474b7 commit 628f497

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/util/io/get_member.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ using boost::tribool;
2020
template <> void GetDefaultMember::handle(const String& v) { value = to_script(v); }
2121
template <> void GetDefaultMember::handle(const int& v) { value = to_script(v); }
2222
template <> void GetDefaultMember::handle(const unsigned int& v) { value = to_script((int)v); }
23-
template <> void GetDefaultMember::handle(const size_t& v) { value = to_script((int)v); }
23+
template <> void GetDefaultMember::handle(const uint64_t& v) { value = to_script((int)v); }
2424
template <> void GetDefaultMember::handle(const double& v) { value = to_script(v); }
2525
template <> void GetDefaultMember::handle(const bool& v) { value = to_script(v); }
2626
template <> void GetDefaultMember::handle(const tribool& v) { value = to_script((bool)v); }

0 commit comments

Comments
 (0)