Fix CR builds

On platforms where the translation code default is dynamic, the default table pointer can't be const.

Remove const from the table pointer.
This commit is contained in:
Timothe Litt 2013-07-08 07:22:29 -04:00
parent 0cc3783711
commit 6a9c60c7e7

View file

@ -403,7 +403,7 @@ static const int *codeTbl = /* punch translation tabl
#endif #endif
static struct trans { static struct trans {
const char *const name; const char *const name;
const int *const table; const int *table;
} transcodes[] = { } transcodes[] = {
{ "DEFAULT", o29_code, }, { "DEFAULT", o29_code, },
{ "026", o26_dec_code, }, { "026", o26_dec_code, },