X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fmhshowsbr.c;h=d3ddb948c1acb4047b8db5ad847c4d49e275fc7f;hp=ea9f72e09ff0118af8c178c6c2e2b60470bcdefc;hb=d5b5e6e4813b7fd77dc1664df4304537f3002cf3;hpb=517661967774d60716ecff152c642b417195f900 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