diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-03-16 12:45:35 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-03-16 12:45:35 +0000 |
commit | 974567cdbbbef5e3a23c0bf6022d0fa76183f523 (patch) | |
tree | 2e5627e3aba174672e6667c5d4be2b608d5fb5fa /tools/qa | |
parent | 06158bf0b86a1ff9c6ffa37dc74680e0303ea69c (diff) |
WaE: int/char mix
Diffstat (limited to 'tools/qa')
-rw-r--r-- | tools/qa/test_reversemap.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/qa/test_reversemap.cxx b/tools/qa/test_reversemap.cxx index b38771df11f3..fb62eda90d82 100644 --- a/tools/qa/test_reversemap.cxx +++ b/tools/qa/test_reversemap.cxx @@ -83,7 +83,7 @@ namespace //Taking the single byte legacy encodings, fill in all possible values std::vector<sal_Char> aAllChars(255); for (int i = 1; i <= 255; ++i) - aAllChars[i-1] = i; + aAllChars[i-1] = static_cast<sal_Char>(i); //Some slots are unused, so don't map to private, just set them to 'X' sal_uInt32 convertFlags = OUSTRING_TO_OSTRING_CVTFLAGS ^ RTL_TEXTTOUNICODE_FLAGS_UNDEFINED_MAPTOPRIVATE; |