X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fmhshowsbr.c;h=d3ddb948c1acb4047b8db5ad847c4d49e275fc7f;hb=6cdade9983a7ebd5a5bb8296daa49d5475f07af8;hp=ea9f72e09ff0118af8c178c6c2e2b60470bcdefc;hpb=ac0b9fcce4167e2959ebc5b8d6efb8511acec66d;p=mmh diff --git a/uip/mhshowsbr.c b/uip/mhshowsbr.c index ea9f72e..d3ddb94 100644 --- a/uip/mhshowsbr.c +++ b/uip/mhshowsbr.c @@ -449,7 +449,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 @@ -948,8 +949,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