pkgsrc/graphics/cinepaint/patches/patch-aa
adam c9648eaeba Changes 0.19-0:
For a list of changes see:
http://cinepaint.bigasterisk.com/CinePaint019Changes
(I couldn't connect [adam])
2005-01-17 13:38:37 +00:00

17 lines
584 B
Text

$NetBSD: patch-aa,v 1.1 2005/01/17 13:38:37 adam Exp $
--- plug-ins/hdr/fromrad.h.orig 2005-01-17 13:36:50.000000000 +0000
+++ plug-ins/hdr/fromrad.h
@@ -27,10 +27,9 @@
#define MAXELEN 0x7fff
#define MINRUN 4
-typedef unsigned char BYTE; /* 8-bit unsigned integer */
-static BYTE (*g_bval)[256] = NULL;
+static unsigned char (*g_bval)[256] = NULL;
-typedef BYTE COLR[4]; /* red, green, blue, exponent */
+typedef unsigned char COLR[4]; /* red, green, blue, exponent */
#define copycolr(c1,c2) (c1[0]=c2[0],c1[1]=c2[1], \
c1[2]=c2[2],c1[3]=c2[3])