diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-01-10 11:12:44 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-01-10 17:11:43 +0100 |
commit | 8471b35688d82181e8cd68095fb98d16d3cd7784 (patch) | |
tree | adcecd51db6bc589fd757cd43368c78472ef9d4f /codemaker | |
parent | 6455415c7c97967caa85e455e607876b03dc5ce1 (diff) |
Be explicit when using bool as integral value
Change-Id: I22ee35d8c26ac119b35ba6c85c06199539b0c9d7
Diffstat (limited to 'codemaker')
-rw-r--r-- | codemaker/source/javamaker/javatype.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/codemaker/source/javamaker/javatype.cxx b/codemaker/source/javamaker/javatype.cxx index d12f04e62a72..bee2ba976445 100644 --- a/codemaker/source/javamaker/javatype.cxx +++ b/codemaker/source/javamaker/javatype.cxx @@ -1977,7 +1977,7 @@ void handleConstantGroup( switch (i->value.type) { case unoidl::ConstantValue::TYPE_BOOLEAN: type = "boolean"; - valueIndex = cf->addIntegerInfo(i->value.booleanValue); + valueIndex = cf->addIntegerInfo(sal_Int32(i->value.booleanValue)); break; case unoidl::ConstantValue::TYPE_BYTE: type = "byte"; |