idlc/source/parser.y | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 78b60654ffc612df794c630ddb690e4242e99c94 Author: Stephan Bergmann <[email protected]> Date: Thu Jan 11 11:47:38 2018 +0100 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 <[email protected]> Reviewed-by: Stephan Bergmann <[email protected]> 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); } ; _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
