diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-08-14 08:28:13 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-08-14 09:14:39 +0200 |
commit | 0c3bd1d482ece1f2217cc87069179161f6a5bb56 (patch) | |
tree | 86bab8ab624fd60076838f068f010372321a204b /soltools/mkdepend | |
parent | 11535357df4e4ec828435229ff784b9868ee583a (diff) |
new loplugin:droplong
The types 'long' and 'unsigned long' are different sizes on different
platforms, making them wholy unsuitable for portable code.
And when I mean different sizes, I mean 64bit Linux and 64bit Windows
have different bit sizes.
Change-Id: Id4d8cd709bf71a3f85ed6515fae2b0a21ae8c25d
Reviewed-on: https://gerrit.libreoffice.org/41130
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'soltools/mkdepend')
-rw-r--r-- | soltools/mkdepend/def.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/soltools/mkdepend/def.h b/soltools/mkdepend/def.h index 2ab9a4845770..587cd1580c2c 100644 --- a/soltools/mkdepend/def.h +++ b/soltools/mkdepend/def.h @@ -138,7 +138,7 @@ struct filepointer { char *f_p; char *f_base; char *f_end; - long f_line; + int f_line; }; #ifndef X_NOT_STDC_ENV |