X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=ncurses%2Ftrace%2Fvisbuf.c;h=effa84352b7d9230214018cdaec09978de918bd2;hp=1093073f49be32e756b8ccfe4fa182a48abaece0;hb=1ced97640ad94ecc6292b917d0f29725c762739c;hpb=683b593ffaeafaa191e701759b05cdba8086b6b1 diff --git a/ncurses/trace/visbuf.c b/ncurses/trace/visbuf.c index 1093073f..effa8435 100644 --- a/ncurses/trace/visbuf.c +++ b/ncurses/trace/visbuf.c @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright (c) 2001-2011,2012 Free Software Foundation, Inc. * + * Copyright (c) 2001-2012,2014 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy of this software and associated documentation files (the * @@ -42,7 +42,7 @@ #include #include -MODULE_ID("$Id: visbuf.c,v 1.42 2012/10/27 20:58:50 tom Exp $") +MODULE_ID("$Id: visbuf.c,v 1.43 2014/02/23 01:21:08 tom Exp $") #define NUM_VISBUFS 4 @@ -69,7 +69,7 @@ _nc_vischar(char *tp, unsigned c LIMIT_ARG) if (c == '"' || c == '\\') { *tp++ = '\\'; *tp++ = (char) c; - } else if (is7bits(c) && (isgraph(c) || c == ' ')) { + } else if (is7bits((int)c) && (isgraph((int)c) || c == ' ')) { *tp++ = (char) c; } else if (c == '\n') { *tp++ = '\\';