Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Schuberth <sschuberth@gmail.com>2011-09-08 16:29:54 +0400
committerSebastian Schuberth <sschuberth@gmail.com>2011-09-08 19:08:10 +0400
commit353560b440cd40c0ed6b9bffeea9b0c0cc70583b (patch)
treed73bb06dc7b1f95478bbd4c029aff8ac0b8a1931 /src/filebuf.c
parent45e93ef34e3373440d17081557e1e5100caaaeac (diff)
Get rid of a superfluous pointer cast
Diffstat (limited to 'src/filebuf.c')
-rw-r--r--src/filebuf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/filebuf.c b/src/filebuf.c
index 9388d8be7..70245b54d 100644
--- a/src/filebuf.c
+++ b/src/filebuf.c
@@ -116,7 +116,7 @@ static int write_deflate(git_filebuf *file, void *source, size_t len)
z_stream *zs = &file->zs;
if (len > 0 || file->flush_mode == Z_FINISH) {
- zs->next_in = (void *)source;
+ zs->next_in = source;
zs->avail_in = len;
do {