Use unsigned char for isprint

This commit is contained in:
Andrey A. Chernov 1996-03-31 16:14:11 +00:00
parent 4ddc73e65b
commit 3cb7c0b144
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=14952

View File

@ -33,7 +33,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: util.c,v 1.3 1994/09/24 02:55:58 davidg Exp $
* $Id: util.c,v 1.4 1994/10/09 15:25:23 ache Exp $
*/
#ifndef lint
@ -57,7 +57,7 @@ prcopy(src, dest, len)
char *src, *dest;
int len;
{
int ch;
unsigned char ch;
while (len--) {
ch = *src++;