mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
2018-01-07 HaO Make compile with MS-VC2017 [Ticket 135]
This commit is contained in:
@ -397,7 +397,7 @@ int emf_plot(struct zint_symbol *symbol) {
|
||||
str = symbol->vector->strings;
|
||||
this_text = 0;
|
||||
while (str) {
|
||||
this_string[this_text] = malloc(bump_up(str->length + 1) * 2);
|
||||
this_string[this_text] = (unsigned char *) malloc(bump_up(str->length + 1) * 2);
|
||||
text[this_text].type = 0x00000054; // EMR_EXTTEXTOUTW
|
||||
text[this_text].size = 76 + (6 * bump_up(str->length + 1));
|
||||
text[this_text].bounds.top = 0; // ignored
|
||||
|
Reference in New Issue
Block a user