summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/package.h
diff options
context:
space:
mode:
authorAndrew Gregory <andrew.gregory.8@gmail.com>2014-01-14 05:01:46 +0100
committerAllan McRae <allan@archlinux.org>2014-01-15 06:52:51 +0100
commitb01c2aefd9212403832743727143143693c8ad63 (patch)
treef9c536f7d1ba7fb99793746b3aefe6d151c2103b /lib/libalpm/package.h
parentbce495e56f3d5d909bbc2a116cf5776c3621cd89 (diff)
downloadpacman-b01c2aefd9212403832743727143143693c8ad63.tar.gz
pacman-b01c2aefd9212403832743727143143693c8ad63.tar.xz
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>
Diffstat (limited to 'lib/libalpm/package.h')
-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);