Make that crctable const.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2649 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Mark Olsen 2007-09-10 14:52:49 +00:00
parent 12f0564d1d
commit 571412b66f
1 changed files with 1 additions and 1 deletions

View File

@ -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,