X-Git-Url: https://git.cameronkatri.com/mandoc.git/blobdiff_plain/a1567e8417f169edf6c71532dc11bfa763ac444b..446eaf99d9987df7d312d3315e99646e91ada7fe:/chars.c diff --git a/chars.c b/chars.c index 26e0139e..43fedd6a 100644 --- a/chars.c +++ b/chars.c @@ -1,4 +1,4 @@ -/* $Id: chars.c,v 1.27 2010/08/20 01:02:07 schwarze Exp $ */ +/* $Id: chars.c,v 1.30 2010/09/15 13:10:30 kristaps Exp $ */ /* * Copyright (c) 2009, 2010 Kristaps Dzonsons * @@ -40,7 +40,7 @@ struct ln { #define CHARS_BOTH (CHARS_CHAR | CHARS_STRING) }; -#define LINES_MAX 369 +#define LINES_MAX 351 #define CHAR(in, ch, code) \ { NULL, (in), (ch), (code), CHARS_CHAR }, @@ -94,13 +94,13 @@ chars_init(enum chars type) tab = malloc(sizeof(struct tbl)); if (NULL == tab) { perror(NULL); - exit(MANDOCLEVEL_SYSERR); + exit((int)MANDOCLEVEL_SYSERR); } htab = calloc(PRINT_HI - PRINT_LO + 1, sizeof(struct ln **)); if (NULL == htab) { perror(NULL); - exit(MANDOCLEVEL_SYSERR); + exit((int)MANDOCLEVEL_SYSERR); } for (i = 0; i < LINES_MAX; i++) {