summaryrefslogtreecommitdiff
path: root/lib/libalpm/trans.c
diff options
context:
space:
mode:
authorAurelien Foret <aurelien@archlinux.org>2006-03-04 15:33:44 +0000
committerAurelien Foret <aurelien@archlinux.org>2006-03-04 15:33:44 +0000
commit1bd8f57a183db0b9be503eeff3027c4b8d65627d (patch)
tree0ef7184196f10b36a281fff8ae969db7fa1ba395 /lib/libalpm/trans.c
parent297c5284b6364c94c2ea2b8911a912a3bfa2ce1e (diff)
downloadpacman-1bd8f57a183db0b9be503eeff3027c4b8d65627d.tar.xz
- changed flags type from char to int
- downloadonly implies FLAG_NOCONFLICTS
Diffstat (limited to 'lib/libalpm/trans.c')
-rw-r--r--lib/libalpm/trans.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/trans.c b/lib/libalpm/trans.c
index b515894b..ba1f2337 100644
--- a/lib/libalpm/trans.c
+++ b/lib/libalpm/trans.c
@@ -82,7 +82,7 @@ void _alpm_trans_free(void *data)
free(trans);
}
-int _alpm_trans_init(pmtrans_t *trans, unsigned char type, unsigned char flags, alpm_trans_cb_event event, alpm_trans_cb_conv conv)
+int _alpm_trans_init(pmtrans_t *trans, unsigned char type, unsigned int flags, alpm_trans_cb_event event, alpm_trans_cb_conv conv)
{
/* Sanity checks */
ASSERT(trans != NULL, RET_ERR(PM_ERR_TRANS_NULL, -1));