Fix an instance of -Wbitfield-constant-conversion in libevent
Bug: 1352183 Change-Id: I852fb335e4514af3575545964e10ffa23a255f39 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3827944 Commit-Queue: Amy Huang <akhuang@google.com> Reviewed-by: Nico Weber <thakis@chromium.org> Cr-Commit-Position: refs/heads/main@{#1034243}
This commit is contained in:

committed by
Chromium LUCI CQ

parent
e71d527f1c
commit
a5316f551f
third_party/libevent
1
third_party/libevent/README.chromium
vendored
1
third_party/libevent/README.chromium
vendored
@@ -32,3 +32,4 @@ static library using GYP.
|
||||
problems on macOS Sierra.
|
||||
7) Change buffer.c to not redefine _GNU_SOURCE.
|
||||
8) Change _event_strlcpy in strlcpy.c to not use K&R syntax.
|
||||
9) Change a bitfield in evhttp.h from int to unsigned int.
|
||||
|
4
third_party/libevent/evhttp.h
vendored
4
third_party/libevent/evhttp.h
vendored
@@ -221,8 +221,8 @@ struct {
|
||||
|
||||
struct evbuffer *input_buffer; /* read data */
|
||||
ev_int64_t ntoread;
|
||||
int chunked:1, /* a chunked request */
|
||||
userdone:1; /* the user has sent all data */
|
||||
unsigned int chunked:1, /* a chunked request */
|
||||
userdone:1; /* the user has sent all data */
|
||||
|
||||
struct evbuffer *output_buffer; /* outgoing post or data */
|
||||
|
||||
|
Reference in New Issue
Block a user