Fix some warnings by adding casts to PixopsInterpType. (#85839, David L.

Mon Jul 29 23:06:10 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk-pixbuf-scale.c: Fix some warnings by adding
        casts to PixopsInterpType. (#85839, David L. Cooper, II.)
This commit is contained in:
Owen Taylor 2002-07-30 03:09:39 +00:00 committed by Owen Taylor
parent 6f2d782624
commit 96dd6780d4
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
Mon Jul 29 23:06:10 2002 Owen Taylor <otaylor@redhat.com>
* gdk-pixbuf-scale.c: Fix some warnings by adding
casts to PixopsInterpType. (#85839, David L. Cooper, II.)
2002-07-16 Matthias Clasen <maclas@gmx.de>
* io-ras.c (DoCompressed): Avoid unnecessary casting.

View File

@ -78,7 +78,7 @@ gdk_pixbuf_scale (const GdkPixbuf *src,
dest->rowstride, dest->n_channels, dest->has_alpha,
src->pixels, src->width, src->height,
src->rowstride, src->n_channels, src->has_alpha,
scale_x, scale_y, interp_type);
scale_x, scale_y, (PixopsInterpType)interp_type);
}
/**
@ -129,7 +129,7 @@ gdk_pixbuf_composite (const GdkPixbuf *src,
dest->rowstride, dest->n_channels, dest->has_alpha,
src->pixels, src->width, src->height,
src->rowstride, src->n_channels, src->has_alpha,
scale_x, scale_y, interp_type, overall_alpha);
scale_x, scale_y, (PixopsInterpType)interp_type, overall_alpha);
}
/**
@ -197,7 +197,7 @@ gdk_pixbuf_composite_color (const GdkPixbuf *src,
dest->rowstride, dest->n_channels, dest->has_alpha,
src->pixels, src->width, src->height,
src->rowstride, src->n_channels, src->has_alpha,
scale_x, scale_y, interp_type, overall_alpha, check_x, check_y,
scale_x, scale_y, (PixopsInterpType)interp_type, overall_alpha, check_x, check_y,
check_size, color1, color2);
}