summaryrefslogtreecommitdiff
path: root/usr.bin/column
diff options
context:
space:
mode:
authorUlrich Spörlein <uqs@FreeBSD.org>2015-12-29 11:24:41 +0000
committerUlrich Spörlein <uqs@FreeBSD.org>2015-12-29 11:24:41 +0000
commitc9e1c304c1f5553fb45f2851840cb6ee6e39243f (patch)
treeb886de70650826ff015bc0343d808ffba0f524fd /usr.bin/column
parente96092e82bbfbee2350ed4061ae1db9b95ef7156 (diff)
downloadsrc-test2-c9e1c304c1f5553fb45f2851840cb6ee6e39243f.tar.gz
src-test2-c9e1c304c1f5553fb45f2851840cb6ee6e39243f.zip
Notes
Diffstat (limited to 'usr.bin/column')
-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 b092deb0d95b..eb8ca66e4b02 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);