чување da72093fe7ce5f325a1ca7f50bdce20b299d529e
родитељ 05260baf707028708b9c69e2d26a1722e8048f28
Аутор: Страхиња Радић <sr@strahinja.org>
Датум: Tue, 10 Mar 2026 15:54:05 +0100
dtree.c(main): Properly order the parameters to calloc(3)
Diffstat:
измењених датотека: 1, додавања: 1(+), брисања: 1(-)
diff --git a/dtree.c b/dtree.c
@@ -459,7 +459,7 @@ done_input:
if (input != stdin)
fclose(input);
- indent = calloc(sizeof(u32), line_size);
+ indent = calloc(line_size, sizeof(u32));
if (!indent)
{
perror(PROGRAMNAME ": calloc");