mirror of
https://git.code.sf.net/p/zint/code
synced 2026-01-08 20:41:59 +00:00
MSVC memory error
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user