aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2010-03-27 04:07:15 +0000
committernyamatongwe <devnull@localhost>2010-03-27 04:07:15 +0000
commit123a3681bf621b950de15d60997c1d0aaf2faec0 (patch)
treee31f61fe435cf345d9d5b01efecf7c07634f67ec /src
parentc6de3de1530c4bd4067cd6533de4a3a8c4092a5c (diff)
downloadscintilla-mirror-123a3681bf621b950de15d60997c1d0aaf2faec0.tar.gz
Fix warning.
Diffstat (limited to 'src')
-rw-r--r--src/Editor.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx
index 61d10bd6a..1291bcc66 100644
--- a/src/Editor.cxx
+++ b/src/Editor.cxx
@@ -6382,7 +6382,7 @@ int Editor::GetTag(char *tagValue, int tagNumber) {
const char *text = 0;
int length = 0;
if ((tagNumber >= 1) && (tagNumber <= 9)) {
- name[1] = tagNumber + '0';
+ name[1] = static_cast<char>(tagNumber + '0');
length = 2;
text = pdoc->SubstituteByPosition(name, &length);
}