# HG changeset patch # User reimar # Date 1222964946 0 # Node ID fcc940b7952eef9574c54727a6ac0c07dfe5b5ca # Parent 3b5964de95cdd814efb92dbd1b9160198df505d7 Make 8svx codec context table pointer const to match the type of the array. diff -r 3b5964de95cd -r fcc940b7952e 8svx.c --- a/8svx.c Thu Oct 02 16:28:58 2008 +0000 +++ b/8svx.c Thu Oct 02 16:29:06 2008 +0000 @@ -32,7 +32,7 @@ /** decoder context */ typedef struct EightSvxContext { int16_t fib_acc; - int16_t *table; + const int16_t *table; } EightSvxContext; static const int16_t fibonacci[16] = { -34<<8, -21<<8, -13<<8, -8<<8, -5<<8, -3<<8, -2<<8, -1<<8,