Avoid unnecessary casting.

* io-ras.c (DoCompressed): Avoid unnecessary casting.
This commit is contained in:
Matthias Clasen 2002-07-16 17:32:08 +00:00
parent 3885b204d3
commit 0082e2e838
2 changed files with 5 additions and 3 deletions

View File

@ -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

View File

@ -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) {