oops, needs float args to flatten

This commit is contained in:
John Cupitt 2015-05-09 16:33:08 +01:00
parent 9ea012f737
commit 65778237a9
1 changed files with 1 additions and 1 deletions

View File

@ -1204,7 +1204,7 @@ vips_foreign_convert_saveable( VipsForeignSave *save )
"background", save->background,
"max_alpha",
in->BandFmt == VIPS_FORMAT_USHORT ?
65535 : 255,
65535.0 : 255.0,
NULL ) ) {
g_object_unref( in );
return( -1 );