dbus/reserve.c: Fix -Wsingle-bit-bitfield-constant-conversion by using unsigned int
commitdf84b1d17d26a58e7bb9edf3eda706248ceb6987
authorNedko Arnaudov <nedko@nedk.org>
Tue, 7 Nov 2023 08:52:55 +0000 (7 10:52 +0200)
committerNedko Arnaudov <nedko@nedk.org>
Tue, 7 Nov 2023 08:52:55 +0000 (7 10:52 +0200)
tree6219bf752b606d19d92acf526af3151cbbefdbb1
parent994086cfd911e827223a0d889e6c07ebfa875750
dbus/reserve.c: Fix -Wsingle-bit-bitfield-constant-conversion by using unsigned int

../dbus/reserve.c:154:16: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion]
  154 |                                 d->gave_up = 1;
      |                                            ^ ~
dbus/reserve.c