mirror of
https://github.com/morgan9e/systemd
synced 2026-04-15 17:06:39 +09: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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user