summaryrefslogtreecommitdiff
path: root/servers/rendering
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-07-01 16:01:05 +0200
committerGitHub <noreply@github.com>2020-07-01 16:01:05 +0200
commita8a2769bb6f7bc5231c06776300cbae7a9b2a4d6 (patch)
treeb5f366b586d412004ab9ce28a1c5f71695a95873 /servers/rendering
parent2abe858e1ccd202b7aee543f9846c1ccf7e51e2c (diff)
parent25c978730bd6d09091ae0f148766f6833e6e1400 (diff)
Merge pull request #38713 from aaronfranke/string-64bit
Make all String integer conversion methods be 64-bit
Diffstat (limited to 'servers/rendering')
-rw-r--r--servers/rendering/shader_language.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/rendering/shader_language.cpp b/servers/rendering/shader_language.cpp
index a6a17869b3..99cc76b2e3 100644
--- a/servers/rendering/shader_language.cpp
+++ b/servers/rendering/shader_language.cpp
@@ -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();
}