fix: warnings fix (after -Wall -Wextra)

This commit is contained in:
samsonium
2026-10-19 18:39:40 +03:00
parent d09468cc6b
commit 04b367e7a0
12 changed files with 66 additions and 61 deletions
+2 -2
View File
@@ -72,9 +72,9 @@ bool fzl_linked_add_files(fzl_linked_t *l, char **files, size_t files_count)
.end = current_start + file_sz - 1};
if (!l->source)
l->source = malloc(file_sz);
l->source = malloc(file_sz + 1);
else
l->source = realloc(l->source, current_start + file_sz);
l->source = realloc(l->source, current_start + file_sz + 1);
if (!l->source)
{