X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fmhshowsbr.c;h=6f511f319d14cd9f51d5e836fe4d43568ff38828;hb=f77270883363b2407ba4588e20ab697535d45c50;hp=44371f1c7ca01fe49ec8c9aae5480af556eaf5a3;hpb=3a84d814004fd4557bf4f44952648e9e69bd22a8;p=mmh diff --git a/uip/mhshowsbr.c b/uip/mhshowsbr.c index 44371f1..6f511f3 100644 --- a/uip/mhshowsbr.c +++ b/uip/mhshowsbr.c @@ -469,7 +469,8 @@ raw: } } - if (buflen <= 0 || (ct->c_termproc && buflen <= strlen(ct->c_termproc))) { + if (buflen <= 0 || + (ct->c_termproc && (size_t) buflen <= strlen(ct->c_termproc))) { /* content_error would provide a more useful error message * here, except that if we got overrun, it probably would * too. @@ -984,7 +985,8 @@ raw: } } - if (buflen <= 0 || (ct->c_termproc && buflen <= strlen(ct->c_termproc))) { + if (buflen <= 0 || + (ct->c_termproc && (size_t) buflen <= strlen(ct->c_termproc))) { /* content_error would provide a more useful error message * here, except that if we got overrun, it probably would * too.