fixed gcc warnings about wrong format string
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1673,7 +1673,7 @@ int wxImage::GetImageCount( wxInputStream &stream, long type )
|
||||
|
||||
if ( !handler )
|
||||
{
|
||||
wxLogWarning(_("No image handler for type %d defined."), type);
|
||||
wxLogWarning(_("No image handler for type %ld defined."), type);
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -1683,7 +1683,7 @@ int wxImage::GetImageCount( wxInputStream &stream, long type )
|
||||
}
|
||||
else
|
||||
{
|
||||
wxLogError(_("Image file is not of type %d."), type);
|
||||
wxLogError(_("Image file is not of type %ld."), type);
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
@@ -1716,14 +1716,14 @@ bool wxImage::LoadFile( wxInputStream& stream, long type, int index )
|
||||
|
||||
if (handler == 0)
|
||||
{
|
||||
wxLogWarning( _("No image handler for type %d defined."), type );
|
||||
wxLogWarning( _("No image handler for type %ld defined."), type );
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
if (stream.IsSeekable() && !handler->CanRead(stream))
|
||||
{
|
||||
wxLogError(_("Image file is not of type %d."), type);
|
||||
wxLogError(_("Image file is not of type %ld."), type);
|
||||
return false;
|
||||
}
|
||||
else
|
||||
|
Reference in New Issue
Block a user