mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-15 07:56:36 +00:00
38b13ce6f1
- Multiple minor patches to clean up the code and avoid compiler warnings (in order to prevent possible errors with future versions of GCC or other modern compilers) Remark: graphics/urt is also included in the cad/brlcad distribution, and has been factured out for the ports collection. The submitter merged some cleanups for IRIX by Lee Butler in order to prevent the mess of two diverging urt versions in the ports tree (the one bundled with cad/brlcad and graphics/urt). He also contributed serveral improvments himself. PR: ports/78687 Submitted by: Pedro F. Giffuni <giffunip@yahoo.com> Approved by: arved
12 lines
361 B
C
12 lines
361 B
C
--- lib/inv_cmap.c.orig Thu Mar 10 21:28:37 2005
|
|
+++ lib/inv_cmap.c Thu Mar 10 21:29:06 2005
|
|
@@ -42,7 +42,7 @@
|
|
static long cbinc, cginc, crinc;
|
|
static unsigned long *gdp, *rdp, *cdp;
|
|
static unsigned char *grgbp, *rrgbp, *crgbp;
|
|
-static gstride, rstride;
|
|
+static int gstride, rstride;
|
|
static long x, xsqr, colormax;
|
|
static int cindex;
|
|
#ifdef INSTRUMENT_IT
|