test/buffer_tests.c

changeset 95
ecfdc1c4a552
parent 83
3b552d7a9610
child 103
08018864fb91
--- a/test/buffer_tests.c	Wed Feb 27 11:48:29 2013 +0100
+++ b/test/buffer_tests.c	Wed Feb 27 13:30:21 2013 +0100
@@ -120,7 +120,7 @@
     UCX_TEST_BEGIN
 
     char rb[16];
-    for (int i = 0 ; i < 16 ; i++) {
+    for (size_t i = 0 ; i < 16 ; i++) {
         UCX_TEST_ASSERT(b->pos == i, "pos wrong during read loop");
         UCX_TEST_ASSERT(!ucx_buffer_eof(b),
                 "EOF shall not be set during read loop");

mercurial