mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-28 10:28:56 +00:00
Get rid of a superfluous pointer cast
This commit is contained in:
parent
45e93ef34e
commit
353560b440
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user