summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pr.c b/src/pr.c
index 1b08894ec..10770cb56 100644
--- a/src/pr.c
+++ b/src/pr.c
@@ -1915,10 +1915,10 @@ init_store_cols (void)
free (line_vector);
/* FIXME: here's where it was allocated. */
- line_vector = xmalloc ((total_lines + 1) * sizeof (int *));
+ line_vector = xmalloc ((total_lines + 1) * sizeof *line_vector);
free (end_vector);
- end_vector = xmalloc (total_lines * sizeof (int *));
+ end_vector = xmalloc (total_lines * sizeof *end_vector);
free (buff);
buff_allocated = (use_col_separator