diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-01-26 15:09:31 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-01-26 15:09:31 +0100 |
commit | 52b84ea00775b8cff8b889ac9d5e73952de02817 (patch) | |
tree | a9b8174443f63ebb395683a1735d8250788deb37 /stoc | |
parent | 23bf4227231eb081f906382ca05e7c2bea5612ec (diff) |
-Werror=int-in-bool-context (GCC 7)
Change-Id: Id97c3ec66c9c0f924951c44efa9f7dd95b184223
Diffstat (limited to 'stoc')
-rw-r--r-- | stoc/source/security/permissions.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stoc/source/security/permissions.cxx b/stoc/source/security/permissions.cxx index a865d475042d..7e98f96cfd11 100644 --- a/stoc/source/security/permissions.cxx +++ b/stoc/source/security/permissions.cxx @@ -87,7 +87,7 @@ static inline OUString makeStrings( if (0x80000000 & mask) { buf.appendAscii( *strings ); - if (mask << 1) // more items following + if ((mask << 1) != 0) // more items following buf.append( ',' ); } mask = (mask << 1); |