diff options
| -rw-r--r-- | cocoa/ScintillaCocoa.mm | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/cocoa/ScintillaCocoa.mm b/cocoa/ScintillaCocoa.mm index 98f5bb054..563cff839 100644 --- a/cocoa/ScintillaCocoa.mm +++ b/cocoa/ScintillaCocoa.mm @@ -1487,7 +1487,7 @@ bool ScintillaCocoa::GetPasteboardData(NSPasteboard* board, SelectionText* selec        bool rectangular = bestType == ScintillaRecPboardType; -      std::string dest(buffer.data(), usedLen); +      std::string dest(reinterpret_cast<const char *>(buffer.data()), usedLen);        selectedText->Copy(dest, pdoc->dbcsCodePage,                           vs.styles[STYLE_DEFAULT].characterSet , rectangular, false); | 
