Skip to content

Commit 309c5e2

Browse files
committed
fix macoxisim
1 parent b5a261e commit 309c5e2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libImaging/Arrow.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ int export_named_type(struct ArrowSchema* schema,
7171
return 1;
7272
}
7373

74-
strlcpy(formatp, format, format_len);
75-
strlcpy(namep, name, name_len);
74+
strncpy(formatp, format, format_len);
75+
strncpy(namep, name, name_len);
7676

7777
*schema = (struct ArrowSchema) {
7878
// Type description

0 commit comments

Comments
 (0)