From 81237134d4c5a8fa78df3cbbf1dce3a3f13bb935 Mon Sep 17 00:00:00 2001 From: Johan Danielsson Date: Wed, 12 Jun 1996 23:36:44 +0000 Subject: [PATCH] Make sure data is unsigned. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@580 ec53bebd-3082-4978-b11e-865c3cabbd6b --- appl/ftp/ftp/krb4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appl/ftp/ftp/krb4.c b/appl/ftp/ftp/krb4.c index 8429afa31..84b8985ea 100644 --- a/appl/ftp/ftp/krb4.c +++ b/appl/ftp/ftp/krb4.c @@ -224,7 +224,7 @@ int krb4_getc(FILE *F) } if(bytes){ bytes--; - return data_buffer[index++]; + return (unsigned char)data_buffer[index++]; } return EOF; }