From: David Levine Date: Sat, 3 Nov 2012 13:13:34 +0000 (-0500) Subject: Fixed comparison to be signed instead of unsigned. X-Git-Url: http://git.marmaro.de/?p=mmh;a=commitdiff_plain;h=a71e7d9a788e0b21ada5f1218724843f10432936 Fixed comparison to be signed instead of unsigned. --- 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.