summaryrefslogtreecommitdiff
path: root/cord/tests/cordtest.c
diff options
context:
space:
mode:
Diffstat (limited to 'cord/tests/cordtest.c')
-rw-r--r--cord/tests/cordtest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cord/tests/cordtest.c b/cord/tests/cordtest.c
index f4868fd5..399141e4 100644
--- a/cord/tests/cordtest.c
+++ b/cord/tests/cordtest.c
@@ -128,7 +128,7 @@ void test_basics(void)
while(CORD_pos_valid(p)) {
char c = CORD_pos_fetch(p);
- if ((unsigned char)c != i)
+ if ((size_t)(unsigned char)c != i)
ABORT("Traversal of function node failed");
CORD_next(p);
i++;