loplugin:cstylecast

Change-Id: I7f87f24ed65c3fbc4a0a37357c7be4d16b44ac89
Reviewed-on: https://gerrit.libreoffice.org/68467
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
This commit is contained in:
Stephan Bergmann 2019-02-27 13:39:44 +01:00
parent 88156ea385
commit 68008da159

View file

@ -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 */