X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=test%2Ftest_mouse.c;h=b24903d541454cbd0c9a895af5fcdbaea548d0e6;hp=8cb12d9fc6e17b25612ae2c912d5a7f24886e827;hb=1ddfa997c0965852dbdc738aa6d92c0cd0975f3b;hpb=eeac2ef5db363494c4272b6dca6d9a0474153381;ds=sidebyside diff --git a/test/test_mouse.c b/test/test_mouse.c index 8cb12d9f..b24903d5 100644 --- a/test/test_mouse.c +++ b/test/test_mouse.c @@ -22,7 +22,7 @@ * THE USE OR OTHER DEALINGS IN THE SOFTWARE. * ****************************************************************************/ /* - * $Id: test_mouse.c,v 1.18 2022/05/15 00:20:27 tom Exp $ + * $Id: test_mouse.c,v 1.19 2022/05/15 16:41:20 tom Exp $ * * Author: Leonid S Usov * @@ -194,9 +194,9 @@ main(int argc, char *argv[]) unsigned btn; mmask_t events; #if NCURSES_MOUSE_VERSION > 1 - const int max_btn = 5; + const unsigned max_btn = 5; #else - const int max_btn = 4; + const unsigned max_btn = 4; #endif const mmask_t btn_mask = (NCURSES_BUTTON_RELEASED | NCURSES_BUTTON_PRESSED |