fix macoxisim

This commit is contained in:
wiredfool 2024-08-25 16:14:36 +01:00
parent 6ec855e0b7
commit e1ef083f60

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