aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--cocoa/ScintillaCocoa.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/cocoa/ScintillaCocoa.mm b/cocoa/ScintillaCocoa.mm
index ad3528cb1..505afd4c7 100644
--- a/cocoa/ScintillaCocoa.mm
+++ b/cocoa/ScintillaCocoa.mm
@@ -2289,7 +2289,7 @@ int ScintillaCocoa::InsertText(NSString* input)
if (encoded.length() > 0)
{
- AddCharUTF((char*) encoded.c_str(), static_cast<unsigned int>(encoded.length()), false);
+ AddCharUTF(encoded.c_str(), static_cast<unsigned int>(encoded.length()), false);
}
return static_cast<int>(encoded.length());
}