mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-11 05:17:44 +03:00
tree-wide: use 'signed int' instead of 'int' for bit field variables
Suggested by LGTM: https://lgtm.com/rules/1506024027114/
This commit is contained in:
parent
12d71b77e2
commit
845d247a3d
@ -352,7 +352,7 @@ typedef struct Unit {
|
||||
|
||||
/* When writing transient unit files, stores which section we stored last. If < 0, we didn't write any yet. If
|
||||
* == 0 we are in the [Unit] section, if > 0 we are in the unit type-specific section. */
|
||||
int last_section_private:2;
|
||||
signed int last_section_private:2;
|
||||
} Unit;
|
||||
|
||||
typedef struct UnitStatusMessageFormats {
|
||||
|
@ -92,7 +92,7 @@ struct sd_event_source {
|
||||
char *description;
|
||||
|
||||
EventSourceType type:5;
|
||||
int enabled:3;
|
||||
signed int enabled:3;
|
||||
bool pending:1;
|
||||
bool dispatching:1;
|
||||
bool floating:1;
|
||||
|
Loading…
Reference in New Issue
Block a user