summaryrefslogtreecommitdiff
path: root/i18nutil
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-11-12 15:30:06 +0100
committerStephan Bergmann <sbergman@redhat.com>2013-11-14 10:14:57 +0100
commite04fe00707e4634148a9490d2f323cf85c407bf2 (patch)
treec3c3ded2e2b178062c7934f5ebcbd8d9fb554ef6 /i18nutil
parentfaa60fd397c7b872a22784740da7c8f21c1b6735 (diff)
-Werror,-Wshift-sign-overflow
Change-Id: I8a7974baab4e32aa7fc53c4220ec4cb79e7b3074
Diffstat (limited to 'i18nutil')
-rw-r--r--i18nutil/source/utility/unicode.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/i18nutil/source/utility/unicode.cxx b/i18nutil/source/utility/unicode.cxx
index 59a1e1aafdc9..009896987b6e 100644
--- a/i18nutil/source/utility/unicode.cxx
+++ b/i18nutil/source/utility/unicode.cxx
@@ -352,7 +352,7 @@ unicode::getUnicodeDirection( const sal_Unicode ch ) {
}
-#define bit(name) (1 << name)
+#define bit(name) (1U << name)
#define UPPERMASK bit(UnicodeType::UPPERCASE_LETTER)