Make compile with MSVC6++

This commit is contained in:
Harald Oehlmann
2016-08-22 18:58:32 +02:00
parent eedb4c638a
commit 3893f6f158
2 changed files with 14 additions and 9 deletions

View File

@ -290,7 +290,7 @@ int get_best_eci(unsigned char source[], int length) {
#ifndef _MSC_VER
unsigned char local_source[length + 1];
#else
local_source = (unsigned char*) _alloca(length + 1);
unsigned char *local_source = (unsigned char*) _alloca(length + 1);
#endif
do {