From a71e7d9a788e0b21ada5f1218724843f10432936 Mon Sep 17 00:00:00 2001 From: David Levine Date: Sat, 3 Nov 2012 08:13:34 -0500 Subject: [PATCH] Fixed comparison to be signed instead of unsigned. --- uip/mhshowsbr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uip/mhshowsbr.c b/uip/mhshowsbr.c index 99db9f8..550669a 100644 --- a/uip/mhshowsbr.c +++ b/uip/mhshowsbr.c @@ -980,7 +980,7 @@ raw: } if (buflen <= 0 || - (ct->c_termproc && (size_t) buflen <= strlen(ct->c_termproc))) { + (ct->c_termproc && buflen <= (ssize_t) strlen(ct->c_termproc))) { /* content_error would provide a more useful error message * here, except that if we got overrun, it probably would * too. -- 1.7.10.4