0

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:
Amy Huang
2022-08-11 23:55:00 +00:00
committed by Chromium LUCI CQ
parent e71d527f1c
commit a5316f551f
2 changed files with 3 additions and 2 deletions
third_party/libevent

@@ -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.

@@ -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 */