summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Gregory <andrew.gregory.8@gmail.com>2014-01-13 23:01:46 -0500
committerAllan McRae <allan@archlinux.org>2014-01-15 15:52:51 +1000
commitb01c2aefd9212403832743727143143693c8ad63 (patch)
treef9c536f7d1ba7fb99793746b3aefe6d151c2103b
parentbce495e56f3d5d909bbc2a116cf5776c3621cd89 (diff)
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>
-rw-r--r--lib/libalpm/package.h2
1 files changed, 1 insertions, 1 deletions
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);