summaryrefslogtreecommitdiffstats
path: root/term.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-09-04 20:18:53 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-09-04 20:18:53 +0000
commit21de3d786d824d615243412d130c128be19a03dd (patch)
treeab13ee82b862b2765d7c0c37af592c9ab33fb1de /term.c
parent8602ef022ba97685524bab84712ad686cd05b20e (diff)
downloadmandoc-21de3d786d824d615243412d130c128be19a03dd.tar.gz
Churny commit to quiet lint. No functional changes.
Diffstat (limited to 'term.c')
-rw-r--r--term.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/term.c b/term.c
index 01d9fd54..1e0f0d33 100644
--- a/term.c
+++ b/term.c
@@ -83,7 +83,7 @@ term_alloc(enum termenc enc)
p = calloc(1, sizeof(struct termp));
if (NULL == p) {
perror(NULL);
- exit(MANDOCLEVEL_SYSERR);
+ exit((int)MANDOCLEVEL_SYSERR);
}
p->enc = enc;
@@ -576,7 +576,7 @@ adjbuf(struct termp *p, size_t sz)
p->buf = realloc(p->buf, p->maxcols);
if (NULL == p->buf) {
perror(NULL);
- exit(MANDOCLEVEL_SYSERR);
+ exit((int)MANDOCLEVEL_SYSERR);
}
}