Byteswap return value. Thanks to Raphael Quinet for finding this.

2000-05-18  Tor Lillqvist  <tml@iki.fi>

* plug-ins/common/psp.c (read_block_header): Byteswap return
value. Thanks to Raphael Quinet for finding this.
This commit is contained in:
Tor Lillqvist 2000-05-18 20:42:02 +00:00 committed by Tor Lillqvist
parent d660c4b5bc
commit 9e7a8e79d7
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2000-05-18 Tor Lillqvist <tml@iki.fi>
* plug-ins/common/psp.c (read_block_header): Byteswap return
value. Thanks to Raphael Quinet for finding this.
2000-05-17 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/scripts/camo.scm: no need to mention the

View File

@ -536,7 +536,7 @@ read_block_header (FILE *f,
*total_len = GUINT32_FROM_LE (len);
}
return id;
return GUINT16_FROM_LE (id);
}
static gint