fix warnings for gcc 10 and clang 10

This commit is contained in:
aurhat
2021-10-05 22:12:49 +02:00
parent 4aa520515c
commit fcd0fd8980
9 changed files with 27 additions and 11 deletions
+1 -1
View File
@@ -328,7 +328,7 @@ int httpget::get(const char *url1, uint timeout, uint totaltimeout, int range, b
if(gzipped)
{
z_stream zs;
memset(&zs, 0, sizeof(zs));
memset((void *)&zs, 0, sizeof(zs));
if(inflateInit2(&zs, 15 + 32) == Z_OK)
{
zs.next_in = (Bytef*)content->getbuf();