diff options
author | Matthias Clasen <mclasen@redhat.com> | 2005-08-30 15:07:12 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2005-08-30 15:07:12 +0000 |
commit | 0aa27306aa6d0cf199b7da521fa2b5fe324213d3 (patch) | |
tree | 5b747d1cae54bc761377f1bcc560c43d6d746201 /gdk-pixbuf/pixops | |
parent | 4a481c6d87bfe17753236303ba01447c78c5ef81 (diff) | |
download | gtk+-0aa27306aa6d0cf199b7da521fa2b5fe324213d3.tar.gz |
Add a cast to avoid compiler warnings.
2005-08-30 Matthias Clasen <mclasen@redhat.com>
* io-png.c (png_save_to_callback_write_func): Add a cast
to avoid compiler warnings.
* pixops/timescale.c (main): Declare src_buf, dest_buf as
unsigned to avoid compiler warnings.
* gdk-pixbuf-io.h: Declare the prefix and mask members of
GdkPixbufModulePattern as char*, to avoid compiler warnings.
* io-ani.c (ani_load_chunk): Use g_try_new() in some places.
Diffstat (limited to 'gdk-pixbuf/pixops')
-rw-r--r-- | gdk-pixbuf/pixops/timescale.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk-pixbuf/pixops/timescale.c b/gdk-pixbuf/pixops/timescale.c index a7fffc4886..945cf8003e 100644 --- a/gdk-pixbuf/pixops/timescale.c +++ b/gdk-pixbuf/pixops/timescale.c @@ -118,7 +118,7 @@ dump_array (double times[3][3][4]) int main (int argc, char **argv) { int src_width, src_height, dest_width, dest_height; - char *src_buf, *dest_buf; + unsigned char *src_buf, *dest_buf; int src_index, dest_index; int i; double scale_times[3][3][4]; |