summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAaron Griffin <aaron@archlinux.org>2007-01-31 08:14:50 +0100
committerAaron Griffin <aaron@archlinux.org>2007-01-31 08:14:50 +0100
commit290b962c489a3291bc6618a50ef243c8ac8ececb (patch)
tree1238dec202c42bb88197b1851bcbbd05723921c7 /lib
parentb23b75e302946e11c80940643db0c32b51557768 (diff)
downloadpacman-290b962c489a3291bc6618a50ef243c8ac8ececb.tar.gz
pacman-290b962c489a3291bc6618a50ef243c8ac8ececb.tar.xz
Switched an int to an enum
Diffstat (limited to 'lib')
-rw-r--r--lib/libalpm/deps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/deps.c b/lib/libalpm/deps.c
index c907ab69..492b64a0 100644
--- a/lib/libalpm/deps.c
+++ b/lib/libalpm/deps.c
@@ -103,7 +103,7 @@ int _alpm_depmiss_isin(pmdepmissing_t *needle, alpm_list_t *haystack)
* This function returns the new alpm_list_t* target list.
*
*/
-alpm_list_t *_alpm_sortbydeps(alpm_list_t *targets, int mode)
+alpm_list_t *_alpm_sortbydeps(alpm_list_t *targets, pmtranstype_t mode)
{
alpm_list_t *newtargs = NULL;
alpm_list_t *i, *j, *k, *l;