From 571412b66fd8a8d4a7485f0c79edf33ed72d55fc Mon Sep 17 00:00:00 2001 From: Mark Olsen Date: Mon, 10 Sep 2007 14:52:49 +0000 Subject: [PATCH] Make that crctable const. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2649 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- fteqtv/crc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fteqtv/crc.c b/fteqtv/crc.c index b484ac24e..8956e8b3a 100644 --- a/fteqtv/crc.c +++ b/fteqtv/crc.c @@ -30,7 +30,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #define QCRC_INIT_VALUE 0xffff #define QCRC_XOR_VALUE 0x0000 -static unsigned short crctable[256] = +static const unsigned short crctable[256] = { 0x0000, 0x1021, 0x2042, 0x3063, 0x4084, 0x50a5, 0x60c6, 0x70e7, 0x8108, 0x9129, 0xa14a, 0xb16b, 0xc18c, 0xd1ad, 0xe1ce, 0xf1ef,