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 )
|
if ( !handler )
|
||||||
{
|
{
|
||||||
wxLogWarning(_("No image handler for type %d defined."), type);
|
wxLogWarning(_("No image handler for type %ld defined."), type);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1683,7 +1683,7 @@ int wxImage::GetImageCount( wxInputStream &stream, long type )
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
wxLogError(_("Image file is not of type %d."), type);
|
wxLogError(_("Image file is not of type %ld."), type);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1716,14 +1716,14 @@ bool wxImage::LoadFile( wxInputStream& stream, long type, int index )
|
|||||||
|
|
||||||
if (handler == 0)
|
if (handler == 0)
|
||||||
{
|
{
|
||||||
wxLogWarning( _("No image handler for type %d defined."), type );
|
wxLogWarning( _("No image handler for type %ld defined."), type );
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (stream.IsSeekable() && !handler->CanRead(stream))
|
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;
|
return false;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user