mirror of
https://github.com/moparisthebest/pacman
synced 2025-02-28 09:21:53 -05:00
package.h: convert scriptlet field to int
It's a boolean, so signedness doesn't matter, and the public API already exposes it as an int through alpm_pkg_has_scriptlet(). Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
parent
bce495e56f
commit
b01c2aefd9
@ -131,7 +131,7 @@ struct __alpm_pkg_t {
|
||||
alpm_pkgvalidation_t validation;
|
||||
alpm_pkgfrom_t origin;
|
||||
alpm_pkgreason_t reason;
|
||||
unsigned int scriptlet;
|
||||
int scriptlet;
|
||||
};
|
||||
|
||||
alpm_file_t *_alpm_file_copy(alpm_file_t *dest, const alpm_file_t *src);
|
||||
|
Loading…
x
Reference in New Issue
Block a user