From 4dca492943ec74ed6a5af9b357c5ee029b40521c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?W=C5=82odzimierz=20Skiba?= Date: Tue, 16 Nov 2004 13:52:47 +0000 Subject: [PATCH] Warning fix. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/gdiimage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/msw/gdiimage.cpp b/src/msw/gdiimage.cpp index f6dc5a9096..eafa9af40f 100644 --- a/src/msw/gdiimage.cpp +++ b/src/msw/gdiimage.cpp @@ -648,7 +648,7 @@ HBITMAP wxLoadBMP(const wxString& filename) pBmpInfo->bmiHeader.biClrUsed : 1 << pBmpInfo->bmiHeader.biBitCount; if (nColors < 1 || file.Read(pBmpInfo->bmiColors, nColors * sizeof(RGBQUAD)) - == nColors * sizeof(RGBQUAD)) { + == (ssize_t)(nColors * sizeof(RGBQUAD))) { // So how big the bitmap surface is. int nBitsSize = BmpFileHdr.bfSize - BmpFileHdr.bfOffBits;