]> git.ozlabs.org Git - ccan/blobdiff - ccan/idtree/test/run.c
idtree: add unit test for ids around INT_MAX
[ccan] / ccan / idtree / test / run.c
index bd12f4c3b2063513f909ddccffc4df015c4d8b12..99ea2daa1d6da512c582c9bf8389ef8b8135b526 100644 (file)
@@ -2,7 +2,7 @@
 #include <ccan/tap/tap.h>
 #include <limits.h>
 
-#define ALLOC_MAX 32
+#define ALLOC_MAX (2 * IDTREE_SIZE)
 
 int main(int argc, char *argv[])
 {