Commit 3fba5891ef96af7c25ab333759f8d518fd22d590

Edward Thomson 2019-01-20T23:53:33

test: cast to a char the zstream test

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/tests/core/zstream.c b/tests/core/zstream.c
index 398d90a..bcbb45f 100644
--- a/tests/core/zstream.c
+++ b/tests/core/zstream.c
@@ -61,7 +61,7 @@ void test_core_zstream__basic(void)
 void test_core_zstream__fails_on_trailing_garbage(void)
 {
 	git_buf deflated = GIT_BUF_INIT, inflated = GIT_BUF_INIT;
-	size_t i = 0;
+	char i = 0;
 
 	/* compress a simple string */
 	git_zstream_deflatebuf(&deflated, "foobar!!", 8);