aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.cxx
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2001-06-12 04:57:30 +0000
committernyamatongwe <devnull@localhost>2001-06-12 04:57:30 +0000
commit2e870a56408078cc17e7a4dea26e4b5664758bd6 (patch)
tree0da1f75de7c65a60f21ee71a64895f9427555e13 /src/Editor.cxx
parent8326df8a963f45b7152fce157f2d6ce293843396 (diff)
downloadscintilla-mirror-2e870a56408078cc17e7a4dea26e4b5664758bd6.tar.gz
Fixed some Borland warnings.
Diffstat (limited to 'src/Editor.cxx')
-rw-r--r--src/Editor.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx
index 235d09261..8b4581529 100644
--- a/src/Editor.cxx
+++ b/src/Editor.cxx
@@ -1798,7 +1798,7 @@ void Editor::NotifyChar(int ch) {
#ifdef MACRO_SUPPORT
if (recordingMacro) {
char txt[2];
- txt[0] = ch;
+ txt[0] = static_cast<char>(ch);
txt[1] = '\0';
NotifyMacroRecord(SCI_REPLACESEL, 0, reinterpret_cast<long>(txt));
}