Commit 96dd6780 authored by Owen Taylor's avatar Owen Taylor Committed by Owen Taylor

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.)
parent 6f2d7826
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.
......
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment