fix macoxisim

This commit is contained in:
wiredfool 2024-08-25 16:14:36 +01:00
parent b5a261e321
commit 309c5e261a

View File

@ -71,8 +71,8 @@ int export_named_type(struct ArrowSchema* schema,
return 1; return 1;
} }
strlcpy(formatp, format, format_len); strncpy(formatp, format, format_len);
strlcpy(namep, name, name_len); strncpy(namep, name, name_len);
*schema = (struct ArrowSchema) { *schema = (struct ArrowSchema) {
// Type description // Type description