about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Src/Modules/curses.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 8f90599d3..37407123e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-10-11  Wayne Davison  <wayned@users.sourceforge.net>
+
+	* unposted: Src/Modules/curses.c: fixed a signed/unsigned
+	compiler warning.
+
 2008-10-10  Peter Stephenson  <pws@csr.com>
 
 	* users/13323: Test/E02xtrace.ztst: new test wasn't robust
diff --git a/Src/Modules/curses.c b/Src/Modules/curses.c
index fe03cd268..29e088c70 100644
--- a/Src/Modules/curses.c
+++ b/Src/Modules/curses.c
@@ -1048,7 +1048,7 @@ zccmd_input(const char *nam, char **args)
 #ifdef NCURSES_MOUSE_VERSION
 	if (!(zcurses_flags & ZCF_MOUSE_ACTIVE) ||
 	    (zcurses_flags & ZCF_MOUSE_MASK_CHANGED)) {
-	    if (mousemask(zcurses_mouse_mask, NULL) == ERR) {
+	    if (mousemask(zcurses_mouse_mask, NULL) == (mmask_t)ERR) {
 		zwarnnam(nam, "current mouse mode is not supported");
 		return 1;
 	    }