Get rid of a superfluous pointer cast

This commit is contained in:
Sebastian Schuberth 2011-09-08 14:29:54 +02:00
parent 45e93ef34e
commit 353560b440

View File

@ -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 {