diff options
author | Matthias Clasen <matthiasc@src.gnome.org> | 2002-07-16 17:32:08 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2002-07-16 17:32:08 +0000 |
commit | 0082e2e838814e45f9fd8d5eafd8064a94c85ae7 (patch) | |
tree | e52ac5e6a842795e14e8fdb626507804997d1394 /gdk-pixbuf | |
parent | 3885b204d35971f07a1cd61bab177199f43a80e2 (diff) | |
download | gtk+-0082e2e838814e45f9fd8d5eafd8064a94c85ae7.tar.gz |
Avoid unnecessary casting.
* io-ras.c (DoCompressed): Avoid unnecessary casting.
Diffstat (limited to 'gdk-pixbuf')
-rw-r--r-- | gdk-pixbuf/ChangeLog | 4 | ||||
-rw-r--r-- | gdk-pixbuf/io-ras.c | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/gdk-pixbuf/ChangeLog b/gdk-pixbuf/ChangeLog index 25243386f6..1bdc926cf2 100644 --- a/gdk-pixbuf/ChangeLog +++ b/gdk-pixbuf/ChangeLog @@ -1,3 +1,7 @@ +2002-07-16 Matthias Clasen <maclas@gmx.de> + + * io-ras.c (DoCompressed): Avoid unnecessary casting. + 2002-07-07 Matthias Clasen <maclas@gmx.de> * gdk-pixbuf-io.c (generic_image_load): New function for loading diff --git a/gdk-pixbuf/io-ras.c b/gdk-pixbuf/io-ras.c index 99938c7b5c..13e05f217b 100644 --- a/gdk-pixbuf/io-ras.c +++ b/gdk-pixbuf/io-ras.c @@ -394,13 +394,11 @@ static void OneLine(struct ras_progressive_state *context) } static gboolean -DoCompressed (gpointer data, +DoCompressed (struct ras_progressive_state *context, const guchar * buf, guint size, GError **error) { int i; - struct ras_progressive_state *context = - (struct ras_progressive_state *) data; for (i = 0; i < size; i++) { switch (context->DecoderState) { |