We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43e9578 commit 949b780Copy full SHA for 949b780
src/tag.h
@@ -311,7 +311,7 @@ static Tag make_tag(TagType type, const char *name) {
311
Tag tag = new_tag();
312
tag.type = type;
313
if (type == CUSTOM) {
314
- tag.custom_tag_name.len = strlen(name);
+ tag.custom_tag_name.len = (uint32_t)strlen(name);
315
tag.custom_tag_name.data =
316
(char *)calloc(1, sizeof(char) * (tag.custom_tag_name.len + 1));
317
strncpy(tag.custom_tag_name.data, name, tag.custom_tag_name.len);
0 commit comments