idlc/source/scanner.l | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 68008da159f5be16a5dcc67a27c3442add86e1c1 Author: Stephan Bergmann <[email protected]> AuthorDate: Wed Feb 27 13:39:44 2019 +0100 Commit: Stephan Bergmann <[email protected]> CommitDate: Thu Feb 28 09:30:52 2019 +0100 loplugin:cstylecast Change-Id: I7f87f24ed65c3fbc4a0a37357c7be4d16b44ac89 Reviewed-on: https://gerrit.libreoffice.org/68467 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <[email protected]> diff --git a/idlc/source/scanner.l b/idlc/source/scanner.l index 1ba611dc52ea..37b2bbff0829 100644 --- a/idlc/source/scanner.l +++ b/idlc/source/scanner.l @@ -227,7 +227,7 @@ static void parseLineAndFile(sal_Char* pBuf) h = r; for (; *r != '\0' && *r != ' ' && *r != '\t'; r++) ; *r++ = 0; - idlc()->setLineNumber((sal_uInt32)atol(h)); + idlc()->setLineNumber(sal_uInt32(atol(h))); yylineno = atol(h); /* Find file name, if present */ _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
