mirror of
https://github.com/VARCem/PDCurses.git
synced 2026-09-25 00:05:16 +00:00
One more (chtype) cast for ERR, in a comparison to the returned value
from mvwinch().
This commit is contained in:
@@ -43,7 +43,7 @@
|
||||
#endif
|
||||
|
||||
#ifdef PDCDEBUG
|
||||
char *rcsid_instr = "$Id: instr.c,v 1.1 2001/01/10 08:27:12 mark Exp $";
|
||||
char *rcsid_instr = "$Id: instr.c,v 1.2 2005/11/19 20:34:25 wmcbrine Exp $";
|
||||
#endif
|
||||
|
||||
/*man-start*********************************************************************
|
||||
@@ -175,7 +175,7 @@ int n;
|
||||
for ( ic=0; ic < imax; ic++ )
|
||||
{
|
||||
tmp = mvwinch( win, oldy, oldx+ic );
|
||||
if( tmp == ERR )
|
||||
if( tmp == (chtype)ERR )
|
||||
{
|
||||
*(str+imax) = '\0';
|
||||
return( ERR );
|
||||
|
||||
Reference in New Issue
Block a user