]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - test/hashtest.c
ncurses 5.7 - patch 20081206
[ncurses.git] / test / hashtest.c
index 737731ea61298dfae2f687259bcd2d74f00dc891..6e1b00b5785b7a55627608ec396741248c21b7ff 100644 (file)
@@ -30,7 +30,7 @@
  *
  * Generate timing statistics for vertical-motion optimization.
  *
- * $Id: hashtest.c,v 1.28 2008/02/23 23:02:41 tom Exp $
+ * $Id: hashtest.c,v 1.29 2008/08/16 17:26:44 tom Exp $
  */
 
 #include <test.priv.h>
@@ -195,6 +195,7 @@ main(int argc, char *argv[])
            break;
        case 'l':
            test_loops = atoi(optarg);
+           assert(test_loops >= 0);
            break;
        case 'n':
            test_normal = TRUE;