From b01c2aefd9212403832743727143143693c8ad63 Mon Sep 17 00:00:00 2001 From: Andrew Gregory Date: Mon, 13 Jan 2014 23:01:46 -0500 Subject: 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 Signed-off-by: Allan McRae --- lib/libalpm/package.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libalpm') diff --git a/lib/libalpm/package.h b/lib/libalpm/package.h index 228fca39..a972d127 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); -- cgit v1.2.3-70-g09d2