summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2017-01-12 21:10:54 +0100
committerRichard Braun <rbraun@sceen.net>2017-01-12 21:12:18 +0100
commitbd875458fcb4aa5516996ffb128b601a89bd25af (patch)
tree3526e12306c00b0b5614719ee795d2a526539652 /test
parentb4ea88ef4530f450ce2b44c2f09c510f2bea0f9b (diff)
Replace unsigned long with uintptr_t for integer/pointer conversions
Diffstat (limited to 'test')
-rw-r--r--test/test_avltree.c4
-rw-r--r--test/test_rbtree.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/test/test_avltree.c b/test/test_avltree.c
index 3f11e57..39afe1f 100644
--- a/test/test_avltree.c
+++ b/test/test_avltree.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2010, 2011 Richard Braun.
+ * Copyright (c) 2010-2017 Richard Braun.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -104,7 +104,7 @@ main(int argc, char *argv[])
struct avltree tree;
struct avltree_node *node, *tmp;
struct obj *obj;
- unsigned long slot;
+ avltree_slot_t slot;
int i, id;
(void)argc;
diff --git a/test/test_rbtree.c b/test/test_rbtree.c
index db4b6ca..328e1f7 100644
--- a/test/test_rbtree.c
+++ b/test/test_rbtree.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2010, 2011 Richard Braun.
+ * Copyright (c) 2010-2017 Richard Braun.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -89,7 +89,7 @@ main(int argc, char *argv[])
struct rbtree tree;
struct rbtree_node *node, *tmp;
struct obj *obj;
- unsigned long slot;
+ rbtree_slot_t slot;
int i, id;
(void)argc;