avoid pointer arithmetics on void pointers. Fixes compilation on IRIX (bug

2007-09-23  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/pcx.c: avoid pointer arithmetics on void 
pointers.
	Fixes compilation on IRIX (bug #479357).


svn path=/trunk/; revision=23628
This commit is contained in:
Sven Neumann 2007-09-23 17:02:11 +00:00 committed by Sven Neumann
parent 0ad8adf1b5
commit 83968989c0
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2007-09-23 Sven Neumann <sven@gimp.org>
* plug-ins/common/pcx.c: avoid pointer arithmetics on void pointers.
Fixes compilation on IRIX (bug #479357).
2007-09-23 Martin Nordholts <martinn@svn.gnome.org>
* app/tools/gimprectangleselecttool.c: Reverted commits for

View File

@ -299,7 +299,7 @@ static struct {
};
static void
pcx_header_from_buffer (const gpointer buf)
pcx_header_from_buffer (guint8 *buf)
{
gint i;
gint buf_offset = 0;
@ -313,7 +313,7 @@ pcx_header_from_buffer (const gpointer buf)
}
static void
pcx_header_to_buffer (const gpointer buf)
pcx_header_to_buffer (guint8 *buf)
{
gint i;
gint buf_offset = 0;