aboutsummaryrefslogtreecommitdiffstatshomepage
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
commit80e181f7b07fbf3344f65fd3c52e5eb0a007dab2 (patch)
tree31551065b9423a95388775db4994fb0c70fd5a57 /html.c
parente34eebeaa729c7d5cc258b87d5a6edd409cfaea2 (diff)
downloadmandoc-80e181f7b07fbf3344f65fd3c52e5eb0a007dab2.tar.gz
mandoc-80e181f7b07fbf3344f65fd3c52e5eb0a007dab2.tar.zst
mandoc-80e181f7b07fbf3344f65fd3c52e5eb0a007dab2.zip
Churny commit to quiet lint. No functional changes.
Diffstat (limited to 'html.c')
-rw-r--r--html.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/html.c b/html.c
index e407051c..138d3e4c 100644
--- a/html.c
+++ b/html.c
@@ -1,4 +1,4 @@
-/* $Id: html.c,v 1.111 2010/08/20 01:02:07 schwarze Exp $ */
+/* $Id: html.c,v 1.112 2010/09/04 20:18:53 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -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;