summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdk-pixbuf/ChangeLog4
-rw-r--r--gdk-pixbuf/io-ras.c4
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) {