diff options
author | Owen Taylor <otaylor@redhat.com> | 2002-07-30 03:09:39 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2002-07-30 03:09:39 +0000 |
commit | 96dd6780d4a501c48ea0cf2e2ca80019d85ba767 (patch) | |
tree | e0d2b2d2985798c12a75b82db69b32428d5ca7b1 /gdk-pixbuf/gdk-pixbuf-scale.c | |
parent | 6f2d782624cce4372cce1128379e9b0ba81002b1 (diff) | |
download | gtk+-96dd6780d4a501c48ea0cf2e2ca80019d85ba767.tar.gz |
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.)
Diffstat (limited to 'gdk-pixbuf/gdk-pixbuf-scale.c')
-rw-r--r-- | gdk-pixbuf/gdk-pixbuf-scale.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdk-pixbuf/gdk-pixbuf-scale.c b/gdk-pixbuf/gdk-pixbuf-scale.c index 3420fd8b2b..b23dc2fef7 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); } |