Qualify the bit field type as unsigned int to ensure that set flags are
interpreted as "1" and not "-1".
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
still being used within an outer loop. */
int installed_files_ref_cnt;
still being used within an outer loop. */
int installed_files_ref_cnt;
+ unsigned int essential:1;
/* Adding this flag, to "force" opkg to choose a "provided_by_hand" package, if there are multiple choice */
/* Adding this flag, to "force" opkg to choose a "provided_by_hand" package, if there are multiple choice */
- int provided_by_hand:1;
+ unsigned int provided_by_hand:1;
/* this flag specifies whether the package was installed to satisfy another
* package's dependancies */
/* this flag specifies whether the package was installed to satisfy another
* package's dependancies */
- int auto_installed:1;
- int is_upgrade:1;
+ unsigned int auto_installed:1;
+ unsigned int is_upgrade:1;
+ unsigned int arch_index:3;