forked from AuroraMiddleware/gtk
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:
parent
6f2d782624
commit
96dd6780d4
@ -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.
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user