summaryrefslogtreecommitdiffstats
path: root/usr.bin/column/column.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/column/column.c')
-rw-r--r--usr.bin/column/column.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/column/column.c b/usr.bin/column/column.c
index b092deb..eb8ca66 100644
--- a/usr.bin/column/column.c
+++ b/usr.bin/column/column.c
@@ -244,7 +244,7 @@ maketbl(void)
p = NULL)
if (++coloff == maxcols) {
if (!(cols = realloc(cols, ((u_int)maxcols +
- DEFCOLS) * sizeof(char *))) ||
+ DEFCOLS) * sizeof(wchar_t *))) ||
!(lens = realloc(lens,
((u_int)maxcols + DEFCOLS) * sizeof(int))))
err(1, NULL);
OpenPOWER on IntegriCloud