mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-29 13:28:10 +00:00
Quiet a compiler warning on some platforms.
This commit is contained in:
parent
e05576607f
commit
e3e2397cba
@ -632,7 +632,7 @@ sudoers_io_log(const char *buf, unsigned int len, int idx)
|
||||
|
||||
#ifdef HAVE_ZLIB_H
|
||||
if (iolog_compress)
|
||||
gzwrite(io_fds[idx].g, buf, len);
|
||||
gzwrite(io_fds[idx].g, (const voidp)buf, len);
|
||||
else
|
||||
#endif
|
||||
fwrite(buf, 1, len, io_fds[idx].f);
|
||||
|
Loading…
x
Reference in New Issue
Block a user