X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fmhshowsbr.c;h=550669aa0e66d3d8bbfa2b1ae04a257961d6e687;hb=492101aee1185135f239b3aabd5b2494f748c931;hp=9c1c0de0a84b172e4201e41f36a7fb646676bb24;hpb=49e0326aeef4cdc75898bf3049bfa3c123688e0f;p=mmh diff --git a/uip/mhshowsbr.c b/uip/mhshowsbr.c index 9c1c0de..550669a 100644 --- a/uip/mhshowsbr.c +++ b/uip/mhshowsbr.c @@ -529,10 +529,10 @@ show_content_aux2 (CT ct, int serial, int alternate, char *cracked, char *buffer if (xpause && isatty (fileno (stdout))) { int intr; + SIGNAL_HANDLER istat; if (SOprintf ("Press to show content...")) printf ("Press to show content..."); - SIGNAL_HANDLER istat; istat = SIGNAL (SIGINT, intrser); if ((intr = sigsetjmp (intrenv, 1)) == OK) { @@ -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.