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 <[email protected]> --- lib/libalpm/package.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libalpm/package.h b/lib/libalpm/package.h index 228fca3..a972d12 100644 --- a/lib/libalpm/package.h +++ b/lib/libalpm/package.h @@ -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); -- 1.8.5.2
