projects
/
libusual.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71e78da
)
aatree: fix test
author
Marko Kreen
<markokr@gmail.com>
Thu, 24 Feb 2011 20:14:47 +0000
(22:14 +0200)
committer
Marko Kreen
<markokr@gmail.com>
Thu, 24 Feb 2011 20:14:47 +0000
(22:14 +0200)
test/test_aatree.c
patch
|
blob
|
blame
|
history
diff --git
a/test/test_aatree.c
b/test/test_aatree.c
index 92540d7f49eea7b630da49671ffe43c84e9d115b..0204f44fe360ec019637eca1b9e436d792964367 100644
(file)
--- a/
test/test_aatree.c
+++ b/
test/test_aatree.c
@@
-24,7
+24,7
@@
static int my_node_pair_cmp(const struct AANode *n1, const struct AANode *n2)
return m1->value - m2->value;
}
-static int my_node_cmp(
long
value, struct AANode *node)
+static int my_node_cmp(
uintptr_t
value, struct AANode *node)
{
MyNode *my = container_of(node, MyNode, node);
return value - my->value;