diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2019-02-27 13:39:44 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-02-28 09:30:52 +0100 |
commit | 68008da159f5be16a5dcc67a27c3442add86e1c1 (patch) | |
tree | 46bbd659f99ced1df4586b6d611dc98bc4234eb3 /idlc | |
parent | 88156ea385e4d81c41a4a46157029671bb019751 (diff) |
loplugin:cstylecast
Change-Id: I7f87f24ed65c3fbc4a0a37357c7be4d16b44ac89
Reviewed-on: https://gerrit.libreoffice.org/68467
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'idlc')
-rw-r--r-- | idlc/source/scanner.l | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ |