diff options
author | Vicent Martà <tanoku@gmail.com> | 2011-09-08 14:20:19 -0700 |
---|---|---|
committer | Vicent Martà <tanoku@gmail.com> | 2011-09-08 14:20:19 -0700 |
commit | 3f3f6225f8237e974b135de30eaac731c929936e (patch) | |
tree | 74e79db35482c110aa9bf50cb06ce23dc045275b /src/pack.c | |
parent | 564f0f7be1d962fdb3bdc42e7e47db9c1ce960ec (diff) | |
parent | bac47f1ff8c6684671c67000c747a6b0a7f2c6dc (diff) | |
download | libgit2-3f3f6225f8237e974b135de30eaac731c929936e.tar.gz |
Merge pull request #391 from sschuberth/development
Warning fixes
Diffstat (limited to 'src/pack.c')
-rw-r--r-- | src/pack.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pack.c b/src/pack.c index d882516be..d5e069a93 100644 --- a/src/pack.c +++ b/src/pack.c @@ -404,7 +404,7 @@ int packfile_unpack_compressed( memset(&stream, 0, sizeof(stream)); stream.next_out = buffer; - stream.avail_out = size + 1; + stream.avail_out = (uInt)size + 1; st = inflateInit(&stream); if (st != Z_OK) { |