summaryrefslogtreecommitdiff
path: root/usr/src/cmd/mandoc/chars.c
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2014-07-25 14:50:37 -0700
committerGarrett D'Amore <garrett@damore.org>2014-08-02 00:19:34 -0700
commit698f87a48e2e945bfe5493ce168e0d0ae1cedd5c (patch)
tree385784d73d5e580be0ffca40abad0dabf0e6084d /usr/src/cmd/mandoc/chars.c
parent7f18da4c54210b682e105b0e7be5195c60f98d20 (diff)
downloadillumos-joyent-698f87a48e2e945bfe5493ce168e0d0ae1cedd5c.tar.gz
5051 import mdocml-1.12.3
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com> Approved by: Rich Lowe <richlowe@richlowe.net>
Diffstat (limited to 'usr/src/cmd/mandoc/chars.c')
-rw-r--r--usr/src/cmd/mandoc/chars.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/src/cmd/mandoc/chars.c b/usr/src/cmd/mandoc/chars.c
index ce03347b5d..3ad1f57471 100644
--- a/usr/src/cmd/mandoc/chars.c
+++ b/usr/src/cmd/mandoc/chars.c
@@ -1,4 +1,4 @@
-/* $Id: chars.c,v 1.52 2011/11/08 00:15:23 kristaps Exp $ */
+/* $Id: chars.c,v 1.54 2013/06/20 22:39:30 schwarze Exp $ */
/*
* Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2011 Ingo Schwarze <schwarze@openbsd.org>
@@ -37,7 +37,7 @@ struct ln {
int unicode;
};
-#define LINES_MAX 328
+#define LINES_MAX 329
#define CHAR(in, ch, code) \
{ NULL, (in), (ch), (code) },
@@ -77,7 +77,7 @@ mchars_alloc(void)
*/
tab = mandoc_malloc(sizeof(struct mchars));
- htab = mandoc_calloc(PRINT_HI - PRINT_LO + 1, sizeof(struct ln **));
+ htab = mandoc_calloc(PRINT_HI - PRINT_LO + 1, sizeof(struct ln *));
for (i = 0; i < LINES_MAX; i++) {
hash = (int)lines[i].code[0] - PRINT_LO;