Warning fixes related to various cases of typecasting.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -318,7 +318,7 @@ int SavePCX(wxImage *image, wxOutputStream& stream)
|
||||
unsigned char *src; // pointer into wxImage data
|
||||
unsigned int width, height; // size of the image
|
||||
unsigned int bytesperline; // bytes per line (each plane)
|
||||
int nplanes = 3; // number of planes
|
||||
unsigned char nplanes = 3; // number of planes
|
||||
int format = wxPCX_24BIT; // image format (8 bit, 24 bit)
|
||||
wxImageHistogram histogram; // image histogram
|
||||
unsigned long key; // key in the hashtable
|
||||
|
Reference in New Issue
Block a user