summaryrefslogtreecommitdiff
path: root/crc24q.c
diff options
context:
space:
mode:
Diffstat (limited to 'crc24q.c')
-rw-r--r--crc24q.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crc24q.c b/crc24q.c
index 8f515c49..7d65db47 100644
--- a/crc24q.c
+++ b/crc24q.c
@@ -37,7 +37,7 @@
#include <stdio.h>
#include <stdlib.h>
-unsigned table[25];
+unsigned table[256];
#define CRCSEED 0 /* could be NZ to detect leading zeros */
#define CRCPOLY 0x1864CFB /* encodes all info about the polynomial */