X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/634157786d854ad3802ebd934d51c4cd9726ef8f..d51305e81eb593bedd92cda864671e15209c268f:/include/wx/os2/pngread.h

diff --git a/include/wx/os2/pngread.h b/include/wx/os2/pngread.h
index fbc2afdf1f..d4cf0361f1 100644
--- a/include/wx/os2/pngread.h
+++ b/include/wx/os2/pngread.h
@@ -46,7 +46,7 @@ protected:
 
   long EfeWidth;                    // Efective Width
 
-  LPBITMAPINFOHEADER lpbi;
+  BITMAPINFOHEADER2* lpbi;
   int bgindex;
   wxPalette* Palette;
   bool imageOK;
@@ -270,7 +270,7 @@ inline bool wxPNGReaderIter::PrevStep()
   Itx -= Stepx;
   if (Itx >= 0)
      return 1;
-  else {       
+  else {
      Ity -= Stepy;
      if (Ity >= 0 && Ity < ima->Height)
      {