Skip to content

Commit

Permalink
fix macoxisim
Browse files Browse the repository at this point in the history
  • Loading branch information
wiredfool committed Jan 20, 2025
1 parent 6ec855e commit e1ef083
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libImaging/Arrow.c
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ int export_named_type(struct ArrowSchema* schema,
return 1;
}

strlcpy(formatp, format, format_len);
strlcpy(namep, name, name_len);
strncpy(formatp, format, format_len);
strncpy(namep, name, name_len);

*schema = (struct ArrowSchema) {
// Type description
Expand Down

0 comments on commit e1ef083

Please sign in to comment.