diff options
author | nyamatongwe <unknown> | 2010-03-27 04:07:15 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2010-03-27 04:07:15 +0000 |
commit | b3e39fef96b5b78e3e1f7ec808e4732eab6e40e5 (patch) | |
tree | e31f61fe435cf345d9d5b01efecf7c07634f67ec /src/Editor.cxx | |
parent | a00f8bc0461f324180c4dabe45ff5bb185994686 (diff) | |
download | scintilla-mirror-b3e39fef96b5b78e3e1f7ec808e4732eab6e40e5.tar.gz |
Fix warning.
Diffstat (limited to 'src/Editor.cxx')
-rw-r--r-- | src/Editor.cxx | 2 |
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); } |