Eric Pouech : windowscodecs: Remove useless casts to long.

Alexandre Julliard julliard at winehq.org
Wed Feb 2 16:38:03 CST 2022


Module: wine
Branch: master
Commit: df091ef01d96419b3fde447f418cecb69c291781
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=df091ef01d96419b3fde447f418cecb69c291781

Author: Eric Pouech <eric.pouech at gmail.com>
Date:   Tue Feb  1 14:06:09 2022 +0100

windowscodecs: Remove useless casts to long.

Signed-off-by: Eric Pouech <eric.pouech at gmail.com>
Signed-off-by: Esme Povirk <esme at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at 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. */
 




More information about the wine-cvs mailing list