diff options
author | Neil Hodgson <nyamatongwe@gmail.com> | 2014-05-01 11:04:25 +1000 |
---|---|---|
committer | Neil Hodgson <nyamatongwe@gmail.com> | 2014-05-01 11:04:25 +1000 |
commit | 0c7d2d38b7a0083c51d3c77618b2da3db7f2951e (patch) | |
tree | ac4e185e40205274c73cab403c3ccf6947d2d9d5 | |
parent | d4240cac256a9fc8e49e127a602a8ec6e47ba067 (diff) | |
download | scintilla-mirror-0c7d2d38b7a0083c51d3c77618b2da3db7f2951e.tar.gz |
Cast to make previous change build on Cocoa.
-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); |