fix compiler warning

This commit is contained in:
John Cupitt 2012-10-04 11:26:02 +01:00
parent 4050c47281
commit 0348f8a4da

View File

@ -266,7 +266,7 @@ write_dzi( VipsForeignSaveDz *dz )
return( -1 );
vips_snprintf( buf, PATH_MAX, "%s", dz->suffix + 1 );
if( (p = vips__find_rightmost_brackets( buf )) )
if( (p = (char *) vips__find_rightmost_brackets( buf )) )
*p = '\0';
fprintf( fp, "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" );