mirror of
https://git.code.sf.net/p/zint/code
synced 2025-06-06 01:21:30 -04:00
MSVC memory error
This commit is contained in:
parent
de78542483
commit
622b32675e
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue