Update src/nuklear_utf8.c
Co-authored-by: Rob Loach <robloach@gmail.com>
This commit is contained in:
parent
888c67a229
commit
10aaef725d
|
@ -202,7 +202,7 @@ nk_utf_filter_instructions(char *output, const char * input, int len)
|
|||
|
||||
glyph_len += payload_size;
|
||||
} else {
|
||||
NK_MEMCPY(output, input + text_len, glyph_len);
|
||||
NK_MEMCPY(output, input + text_len, (NK_SIZE_TYPE)glyph_len);
|
||||
output += glyph_len;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue