From 8dec2758b7bdce151765bb7140790692c2ae807b Mon Sep 17 00:00:00 2001 From: Sven Neumann Date: Fri, 27 Mar 1998 13:33:38 +0000 Subject: [PATCH] Small changes to satisfy the native SGI IRIX-6.4 compiler. There are still lots of warnings, but it seems to compile out of the box now (using GNU make). --Sven --- ChangeLog | 6 ++++++ plug-ins/common/sparkle.c | 6 +++++- plug-ins/sparkle/sparkle.c | 6 +++++- 3 files changed, 16 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 2e3172da38..fda7b230ab 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Fri Mar 27 14:33:42 MET 1998 Sven Neumann + + * plugins/dbbrowser/dbbrowser_utils.c + * plugins/sparkle/sparkle.c: small changes to make it compile + on irix-6.4 with the native compiler. + Fri Mar 27 00:19:38 PST 1998 Manish Singh * Made 0.99.23 release diff --git a/plug-ins/common/sparkle.c b/plug-ins/common/sparkle.c index 21dec3440e..788746a5f0 100644 --- a/plug-ins/common/sparkle.c +++ b/plug-ins/common/sparkle.c @@ -713,7 +713,11 @@ rpnt (GDrawable *drawable, guchar *pixel; guchar *guc_tmp; gdouble *gd_tmp; - gint oldrow = row - 1, oldcol = col - 1; + gint *oldrow; + gint *oldcol; + + oldrow = row - 1; + oldcol = col - 1; x = (int) (xr); /* integer coord. to upper left of real point */ y = (int) (yr); diff --git a/plug-ins/sparkle/sparkle.c b/plug-ins/sparkle/sparkle.c index 21dec3440e..788746a5f0 100644 --- a/plug-ins/sparkle/sparkle.c +++ b/plug-ins/sparkle/sparkle.c @@ -713,7 +713,11 @@ rpnt (GDrawable *drawable, guchar *pixel; guchar *guc_tmp; gdouble *gd_tmp; - gint oldrow = row - 1, oldcol = col - 1; + gint *oldrow; + gint *oldcol; + + oldrow = row - 1; + oldcol = col - 1; x = (int) (xr); /* integer coord. to upper left of real point */ y = (int) (yr);