diff options
author | nyamatongwe <unknown> | 2008-12-23 11:33:11 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2008-12-23 11:33:11 +0000 |
commit | dd8505c0d64e2f2d42f7aeef761ca2fb42b01190 (patch) | |
tree | 2536da04441658778684c6819358ae79c7bb2b7f /src/UniConversion.cxx | |
parent | f797cc6b8ca81530565c989d40ac9bc2b1952465 (diff) | |
download | scintilla-mirror-dd8505c0d64e2f2d42f7aeef761ca2fb42b01190.tar.gz |
Avoid warnings with gcc 4.3
Diffstat (limited to 'src/UniConversion.cxx')
-rw-r--r-- | src/UniConversion.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/UniConversion.cxx b/src/UniConversion.cxx index 863eb82cd..7dbe9e23d 100644 --- a/src/UniConversion.cxx +++ b/src/UniConversion.cxx @@ -48,7 +48,7 @@ void UTF8FromUTF16(const wchar_t *uptr, unsigned int tlen, char *putf, unsigned i++; unsigned int xch = 0x10000 + ((uch & 0x3ff) << 10) + (uptr[i] & 0x3ff); putf[k++] = static_cast<char>(0xF0 | (xch >> 18)); - putf[k++] = static_cast<char>(0x80 | (xch >> 12) & 0x3f); + putf[k++] = static_cast<char>(0x80 | ((xch >> 12) & 0x3f)); putf[k++] = static_cast<char>(0x80 | ((xch >> 6) & 0x3f)); putf[k++] = static_cast<char>(0x80 | (xch & 0x3f)); } else { |