From 2e870a56408078cc17e7a4dea26e4b5664758bd6 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Tue, 12 Jun 2001 04:57:30 +0000 Subject: Fixed some Borland warnings. --- src/Editor.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Editor.cxx') 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(ch); txt[1] = '\0'; NotifyMacroRecord(SCI_REPLACESEL, 0, reinterpret_cast(txt)); } -- cgit v1.2.3