From 96dd6780d4a501c48ea0cf2e2ca80019d85ba767 Mon Sep 17 00:00:00 2001 From: Owen Taylor Date: Tue, 30 Jul 2002 03:09:39 +0000 Subject: [PATCH] Fix some warnings by adding casts to PixopsInterpType. (#85839, David L. Mon Jul 29 23:06:10 2002 Owen Taylor * gdk-pixbuf-scale.c: Fix some warnings by adding casts to PixopsInterpType. (#85839, David L. Cooper, II.) --- gdk-pixbuf/ChangeLog | 5 +++++ gdk-pixbuf/gdk-pixbuf-scale.c | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/gdk-pixbuf/ChangeLog b/gdk-pixbuf/ChangeLog index 1bdc926cf..49fea0fa2 100644 --- a/gdk-pixbuf/ChangeLog +++ b/gdk-pixbuf/ChangeLog @@ -1,3 +1,8 @@ +Mon Jul 29 23:06:10 2002 Owen Taylor + + * gdk-pixbuf-scale.c: Fix some warnings by adding + casts to PixopsInterpType. (#85839, David L. Cooper, II.) + 2002-07-16 Matthias Clasen * io-ras.c (DoCompressed): Avoid unnecessary casting. diff --git a/gdk-pixbuf/gdk-pixbuf-scale.c b/gdk-pixbuf/gdk-pixbuf-scale.c index 3420fd8b2..b23dc2fef 100644 --- a/gdk-pixbuf/gdk-pixbuf-scale.c +++ b/gdk-pixbuf/gdk-pixbuf-scale.c @@ -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); }