mirror of
https://github.com/libevent/libevent.git
synced 2025-01-31 09:12:55 +08:00
add a cast to https-client.c
This commit is contained in:
parent
2b41bcf8ea
commit
462e6b609b
@ -402,7 +402,7 @@ main(int argc, char **argv)
|
||||
evbuffer_add(output_buffer, buf, s);
|
||||
bytes += s;
|
||||
}
|
||||
evutil_snprintf(buf, sizeof(buf)-1, "%lu", bytes);
|
||||
evutil_snprintf(buf, sizeof(buf)-1, "%lu", (unsigned long)bytes);
|
||||
evhttp_add_header(output_headers, "Content-Length", buf);
|
||||
fclose(f);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user