set of portability changes from lint/asan/ubsan

This commit is contained in:
Chet Ramey
2023-01-07 13:18:20 -05:00
parent 2e725f7346
commit 8fd8cd8f7b
35 changed files with 162 additions and 106 deletions
+1 -1
View File
@@ -814,7 +814,7 @@ array_from_argv(ARRAY *a, char **vec, int count)
if (a == 0 || array_num_elements (a) == 0)
{
for (i = 0; i < count; i++)
array_insert (a, i, t);
array_insert (a, i, vec[i]);
return a;
}