summaryrefslogtreecommitdiffstats
path: root/src/variant/char_string.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/variant/char_string.cpp')
-rw-r--r--src/variant/char_string.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/variant/char_string.cpp b/src/variant/char_string.cpp
index a9c170e..bd0bc3f 100644
--- a/src/variant/char_string.cpp
+++ b/src/variant/char_string.cpp
@@ -353,7 +353,7 @@ String String::operator+(const char32_t p_char) {
}
String &String::operator+=(const String &p_str) {
- internal::gde_interface->string_operator_plus_eq_string((GDExtensionStringPtr)this, (const GDExtensionStringPtr)&p_str);
+ internal::gde_interface->string_operator_plus_eq_string((GDExtensionStringPtr)this, (GDExtensionConstStringPtr)&p_str);
return *this;
}