Module: wine Branch: master Commit: df091ef01d96419b3fde447f418cecb69c291781 URL: https://source.winehq.org/git/wine.git/?a=commit;h=df091ef01d96419b3fde447f4...
Author: Eric Pouech eric.pouech@gmail.com Date: Tue Feb 1 14:06:09 2022 +0100
windowscodecs: Remove useless casts to long.
Signed-off-by: Eric Pouech eric.pouech@gmail.com Signed-off-by: Esme Povirk esme@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/windowscodecs/ungif.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/dlls/windowscodecs/ungif.c b/dlls/windowscodecs/ungif.c index c6711c8e24c..0f5ed6e25d5 100644 --- a/dlls/windowscodecs/ungif.c +++ b/dlls/windowscodecs/ungif.c @@ -460,8 +460,7 @@ DGifGetImageDesc(GifFileType * GifFile) {
GifFile->ImageCount++;
- Private->PixelCount = (long)GifFile->Image.Width * - (long)GifFile->Image.Height; + Private->PixelCount = GifFile->Image.Width * GifFile->Image.Height;
DGifSetupDecompress(GifFile); /* Reset decompress algorithm parameters. */