From bd9df7ffe4e0a2366bd3f2effc8da2dca78c84cf Mon Sep 17 00:00:00 2001 From: William McBrine Date: Sat, 19 Nov 2005 20:34:25 +0000 Subject: [PATCH] One more (chtype) cast for ERR, in a comparison to the returned value from mvwinch(). --- pdcurses/instr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pdcurses/instr.c b/pdcurses/instr.c index 0168ef03..52561515 100644 --- a/pdcurses/instr.c +++ b/pdcurses/instr.c @@ -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 );