$NetBSD: patch-aa,v 1.2 2011/11/23 23:30:30 joerg Exp $ --- plug-ins/hdr/fromrad.h.orig 2004-11-19 06:52:27.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])