mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-23 17:34:00 +03:00
sd-bus: change "int" → "signed int" on bitfield
Apparently by the C standard "int" bitfields can have any signedness (unlike non-bitfield declarations which are "signed" if the signedness is not specified). Let's fix the LGTM warning about this hence and be explicit that we mean "signed" here.
This commit is contained in:
parent
48da47eeca
commit
b8a736d7a0
@ -211,7 +211,7 @@ struct sd_bus {
|
||||
bool connected_signal:1;
|
||||
bool close_on_exit:1;
|
||||
|
||||
int use_memfd:2;
|
||||
signed int use_memfd:2;
|
||||
|
||||
void *rbuffer;
|
||||
size_t rbuffer_size;
|
||||
|
Loading…
Reference in New Issue
Block a user