[PATCH 14/17] dlls/windowscodec: removes useless casts to long

Eric Pouech eric.pouech at gmail.com
Tue Feb 1 07:06:09 CST 2022


Signed-off-by: Eric Pouech <eric.pouech at gmail.com>

---
 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-devel mailing list