MSVC memory error

This commit is contained in:
hooper114 2009-08-26 19:06:19 +00:00
parent de78542483
commit 622b32675e

View File

@ -778,7 +778,7 @@ int ZBarcode_Encode_from_File(struct zint_symbol *symbol, char *filename)
FILE *file; FILE *file;
unsigned char *buffer; unsigned char *buffer;
unsigned long fileLen; unsigned long fileLen;
unsigned char used_characters[255]; unsigned char used_characters[256];
file = fopen(filename, "rb"); file = fopen(filename, "rb");
if (!file) { if (!file) {