summaryrefslogtreecommitdiff
path: root/src/filebuf.c
diff options
context:
space:
mode:
authorSebastian Schuberth <sschuberth@gmail.com>2011-09-08 14:29:54 +0200
committerSebastian Schuberth <sschuberth@gmail.com>2011-09-08 17:08:10 +0200
commit353560b440cd40c0ed6b9bffeea9b0c0cc70583b (patch)
treed73bb06dc7b1f95478bbd4c029aff8ac0b8a1931 /src/filebuf.c
parent45e93ef34e3373440d17081557e1e5100caaaeac (diff)
downloadlibgit2-353560b440cd40c0ed6b9bffeea9b0c0cc70583b.tar.gz
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 {