From 7b261077a287daab2489bdbc72a5b814d3c380cc Mon Sep 17 00:00:00 2001 From: Klaas Freitag Date: Mon, 9 Jul 2012 14:45:25 +0200 Subject: [PATCH] Avoid compile warning and use an unsigned variable. --- tests/ownCloud/mocka/ocmod_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/ownCloud/mocka/ocmod_test.c b/tests/ownCloud/mocka/ocmod_test.c index 53914aeee..8551232cc 100644 --- a/tests/ownCloud/mocka/ocmod_test.c +++ b/tests/ownCloud/mocka/ocmod_test.c @@ -55,7 +55,7 @@ static void fetch_a_context() { printf("Results: %d\n", fetchCtx->result_count); fetchCtx->currResource = fetchCtx->list; - for( int i = 0; i < fetchCtx->result_count; i++ ) { + for( uint i = 0; i < fetchCtx->result_count; i++ ) { assert_true( fetchCtx->currResource != NULL ); assert_true( fetchCtx->currResource->uri != NULL ); assert_true( fetchCtx->currResource->name != NULL );