diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-09-04 20:18:53 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-09-04 20:18:53 +0000 |
commit | 21de3d786d824d615243412d130c128be19a03dd (patch) | |
tree | ab13ee82b862b2765d7c0c37af592c9ab33fb1de /mandoc.c | |
parent | 8602ef022ba97685524bab84712ad686cd05b20e (diff) | |
download | mandoc-21de3d786d824d615243412d130c128be19a03dd.tar.gz |
Churny commit to quiet lint. No functional changes.
Diffstat (limited to 'mandoc.c')
-rw-r--r-- | mandoc.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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); |