1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-29 14:52:12 +01:00

Reduced size of temporaries to the correct size in rs.c

This commit is contained in:
Brian Webb 2012-08-22 06:46:51 -07:00
parent 2cd0733f7d
commit 88c8cba0ff

View File

@ -159,7 +159,7 @@ debug_check_syndrome (void)
static void
compute_genpoly (int nbytes, int genpoly[])
{
int i, tp[256], tp1[256];
int i, tp[MAXDEG], tp1[MAXDEG];
/* multiply (x + a^n) for n = 1 to nbytes */