2
0
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:
Todd C. Miller 2012-03-28 13:17:11 -04:00
parent e05576607f
commit e3e2397cba

View File

@ -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);