summaryrefslogtreecommitdiffstats
path: root/mandoc.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 /mandoc.c
parent8602ef022ba97685524bab84712ad686cd05b20e (diff)
downloadmandoc-21de3d786d824d615243412d130c128be19a03dd.tar.gz
Churny commit to quiet lint. No functional changes.
Diffstat (limited to 'mandoc.c')
-rw-r--r--mandoc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/mandoc.c b/mandoc.c
index cd84d400..f0697831 100644
--- a/mandoc.c
+++ b/mandoc.c
@@ -233,7 +233,7 @@ mandoc_calloc(size_t num, size_t size)
ptr = calloc(num, size);
if (NULL == ptr) {
perror(NULL);
- exit(MANDOCLEVEL_SYSERR);
+ exit((int)MANDOCLEVEL_SYSERR);
}
return(ptr);
@@ -248,7 +248,7 @@ mandoc_malloc(size_t size)
ptr = malloc(size);
if (NULL == ptr) {
perror(NULL);
- exit(MANDOCLEVEL_SYSERR);
+ exit((int)MANDOCLEVEL_SYSERR);
}
return(ptr);
@@ -262,7 +262,7 @@ mandoc_realloc(void *ptr, size_t size)
ptr = realloc(ptr, size);
if (NULL == ptr) {
perror(NULL);
- exit(MANDOCLEVEL_SYSERR);
+ exit((int)MANDOCLEVEL_SYSERR);
}
return(ptr);
@@ -277,7 +277,7 @@ mandoc_strdup(const char *ptr)
p = strdup(ptr);
if (NULL == p) {
perror(NULL);
- exit(MANDOCLEVEL_SYSERR);
+ exit((int)MANDOCLEVEL_SYSERR);
}
return(p);