summaryrefslogtreecommitdiff
path: root/idlc/source/parser.y
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-01-11 11:47:38 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-01-11 18:37:45 +0100
commit78b60654ffc612df794c630ddb690e4242e99c94 (patch)
treea3baa2471d3088f0b7bb7a91fa4744e150ac963f /idlc/source/parser.y
parente58503b743d6dd5e100bfc1abb6a96f28d17d318 (diff)
Manual loplugin:cstylecast fixes in idlc/source/parser.y
...with a to-be-committed improved loplugin:cstylecast Change-Id: Iafd2f3d401e7a9e46acfdba89a5b35498afbfd3c Reviewed-on: https://gerrit.libreoffice.org/47753 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'idlc/source/parser.y')
-rw-r--r--idlc/source/parser.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/idlc/source/parser.y b/idlc/source/parser.y
index 1e873853b46e..aa8302cac46f 100644
--- a/idlc/source/parser.y
+++ b/idlc/source/parser.y
@@ -1421,11 +1421,11 @@ literal :
}
| IDL_TRUE
{
- $$ = new AstExpression((sal_Int32)1, ET_boolean);
+ $$ = new AstExpression(sal_Int32(1), ET_boolean);
}
| IDL_FALSE
{
- $$ = new AstExpression((sal_Int32)0, ET_boolean);
+ $$ = new AstExpression(sal_Int32(0), ET_boolean);
}
;