mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-12 22:25:59 -04:00
2018-01-07 HaO Make compile with MS-VC2017 [Ticket 135]
This commit is contained in:
parent
eda3f4b114
commit
dc2e0b35a6
2 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue