fix a compiler warning

This commit is contained in:
John Cupitt 2014-11-06 13:12:43 +00:00
parent 7ae35c3edb
commit 2d172f44c3
2 changed files with 4 additions and 2 deletions

View File

@ -91,7 +91,8 @@ png2vips( const char *name, IMAGE *out, gboolean header_only )
return( -1 );
}
#else
vips_error( "im_png2vips", _( "no PNG support in your libvips" ) );
vips_error( "im_png2vips",
"%s", _( "no PNG support in your libvips" ) );
return( -1 );
#endif /*HAVE_PNG*/

View File

@ -102,7 +102,8 @@ tiff2vips( const char *name, IMAGE *out, gboolean header_only )
return( -1 );
}
#else
vips_error( "im_tiff2vips", _( "no TIFF support in your libvips" ) );
vips_error( "im_tiff2vips",
"%s", _( "no TIFF support in your libvips" ) );
return( -1 );
#endif /*HAVE_TIFF*/