mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-30 21:43:34 +00:00
Use unsigned char for isprint
This commit is contained in:
parent
4ddc73e65b
commit
3cb7c0b144
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=14952
@ -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++;
|
||||
|
Loading…
Reference in New Issue
Block a user