summaryrefslogtreecommitdiffstats
path: root/html.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 /html.c
parent8602ef022ba97685524bab84712ad686cd05b20e (diff)
downloadmandoc-21de3d786d824d615243412d130c128be19a03dd.tar.gz
Churny commit to quiet lint. No functional changes.
Diffstat (limited to 'html.c')
-rw-r--r--html.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/html.c b/html.c
index 8f0b2d65..f2f0c060 100644
--- a/html.c
+++ b/html.c
@@ -116,7 +116,7 @@ ml_alloc(char *outopts, enum htmltype type)
h = calloc(1, sizeof(struct html));
if (NULL == h) {
perror(NULL);
- exit(MANDOCLEVEL_SYSERR);
+ exit((int)MANDOCLEVEL_SYSERR);
}
h->type = type;
@@ -398,7 +398,7 @@ print_otag(struct html *h, enum htmltag tag,
t = malloc(sizeof(struct tag));
if (NULL == t) {
perror(NULL);
- exit(MANDOCLEVEL_SYSERR);
+ exit((int)MANDOCLEVEL_SYSERR);
}
t->tag = tag;
t->next = h->tags.head;