filter/source/graphicfilter/itga/itga.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 6095612850973388ba5b121b34d02292a2548e7d Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Thu Jan 16 20:41:50 2020 +0000 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Thu Jan 16 22:30:58 2020 +0100 ofz#20160 Integer-overflow since... commit cf82475c785c47327cdc9d591d63d7a82dd1ac53 Date: Sun Dec 8 19:46:45 2019 +0530 tdf#114441 Changing sal_uLong to appropriate integer type in filters module Change-Id: I1f29e764c6405bb05dfd27da06bdc08cf8ae13cc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86947 Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@redhat.com> diff --git a/filter/source/graphicfilter/itga/itga.cxx b/filter/source/graphicfilter/itga/itga.cxx index 57c8a49bfc9b..ddf2db50f30d 100644 --- a/filter/source/graphicfilter/itga/itga.cxx +++ b/filter/source/graphicfilter/itga/itga.cxx @@ -715,7 +715,7 @@ bool TGAReader::ImplReadPalette() { case 0x3f : { - for ( sal_uInt16 i = 0; i < nColors; i++ ) + for (sal_uInt32 i = 0; i < nColors; ++i) { mpColorMap[ i ] = ( i << 16 ) + ( i << 8 ) + i; } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits