summaryrefslogtreecommitdiffstats
path: root/graphics/grads/files/patch-src_gxhpng.c
blob: 0a86b5da66b9e8ce233d0549c1228358f61e10b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- src/gxhpng.c.orig	Fri Mar 25 15:23:06 2005
+++ src/gxhpng.c	Fri Mar 25 15:23:48 2005
@@ -377,7 +377,11 @@
   return (retcod);
 }
 	
-int gdCompareInt(const void *a, const void *b);
+int gdCompareInt(const void *a, const void *b)
+{
+	return (*(const int *)a) - (*(const int *)b);
+}
+
 
 /* Version of gdImageFilledPolygon to invoke my local 
    version of gdImageLne.  Nothing else changed... B.Doty 5/31/01 */
OpenPOWER on IntegriCloud