summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
authorWayne Davison <wayned@users.sourceforge.net>2008-10-11 20:12:18 +0000
committerWayne Davison <wayned@users.sourceforge.net>2008-10-11 20:12:18 +0000
commitb98b8e2c26ac469606e77d8ea324eaf0fc03d65f (patch)
tree0b21eb7cd6789fa8fce30abef99ca9172be7915f /Src
parentc1a41ff542ca1221733f6951f968e00f922011e0 (diff)
downloadzsh-b98b8e2c26ac469606e77d8ea324eaf0fc03d65f.tar.gz
zsh-b98b8e2c26ac469606e77d8ea324eaf0fc03d65f.tar.xz
zsh-b98b8e2c26ac469606e77d8ea324eaf0fc03d65f.zip
Fixed a signed/unsigned compiler warning.
Diffstat (limited to 'Src')
-rw-r--r--Src/Modules/curses.c2
1 files changed, 1 insertions, 1 deletions
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;
 	    }