1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

Merge pull request #38713 from aaronfranke/string-64bit

Make all String integer conversion methods be 64-bit
This commit is contained in:
Rémi Verschelde
2020-07-01 16:01:05 +02:00
committed by GitHub
14 changed files with 40 additions and 109 deletions

View File

@@ -643,7 +643,7 @@ ShaderLanguage::Token ShaderLanguage::_get_token() {
}
if (hexa_found) {
tk.constant = (double)str.hex_to_int64(true);
tk.constant = (double)str.hex_to_int(true);
} else {
tk.constant = str.to_double();
}