summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2019-01-20 23:53:33 +0000
committerEdward Thomson <ethomson@edwardthomson.com>2019-01-25 22:47:35 +0000
commit3fba5891ef96af7c25ab333759f8d518fd22d590 (patch)
tree216ef0bfe0ba9c7cf8abc7d01513c599400eba0d
parentf25bb508cf7fd4da1427544fb48fba12c3c76e1c (diff)
downloadlibgit2-3fba5891ef96af7c25ab333759f8d518fd22d590.tar.gz
test: cast to a char the zstream test
-rw-r--r--tests/core/zstream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/core/zstream.c b/tests/core/zstream.c
index 398d90ab0..bcbb45fde 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);