From 80e181f7b07fbf3344f65fd3c52e5eb0a007dab2 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Sat, 4 Sep 2010 20:18:53 +0000 Subject: Churny commit to quiet lint. No functional changes. --- term.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'term.c') diff --git a/term.c b/term.c index 79a0f45f..475ee343 100644 --- a/term.c +++ b/term.c @@ -1,4 +1,4 @@ -/* $Id: term.c,v 1.169 2010/08/20 23:34:02 schwarze Exp $ */ +/* $Id: term.c,v 1.170 2010/09/04 20:18:53 kristaps Exp $ */ /* * Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons * Copyright (c) 2010 Ingo Schwarze @@ -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); } } -- cgit v1.2.3