Update src/nuklear_utf8.c

Co-authored-by: Rob Loach <robloach@gmail.com>
This commit is contained in:
PROP 65 2024-08-30 07:34:39 +00:00 committed by GitHub
parent 888c67a229
commit 10aaef725d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}