mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-25 13:11:13 +00:00
Avoid unnecessary casting.
* io-ras.c (DoCompressed): Avoid unnecessary casting.
This commit is contained in:
parent
3885b204d3
commit
0082e2e838
@ -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
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user