mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
MSVC memory error
This commit is contained in:
parent
de78542483
commit
622b32675e
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user