summaryrefslogtreecommitdiff
path: root/core/input_map.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2019-02-21 11:21:41 +0100
committerRémi Verschelde <rverschelde@gmail.com>2019-02-21 11:24:00 +0100
commitb39e1df7046e6db8aa32166d5c82b3c9d2e39075 (patch)
tree66062f38ad21cab066ef0436baf424d5b3ff913b /core/input_map.cpp
parent16934c7411fc7beda7459d0bb8bf5de233d671d1 (diff)
Fix VariantWriter overflow on 64-bit int
Integers in Godot are signed 64-bit ints (int64_t), but var2str used int behind the scenes and would thus overflow after 2^31. Also properly documented the actual bounds of int and the behaviour when overflowing them.
Diffstat (limited to 'core/input_map.cpp')
0 files changed, 0 insertions, 0 deletions