Switched an int to an enum

This commit is contained in:
Aaron Griffin 2007-01-31 07:14:50 +00:00
parent b23b75e302
commit 290b962c48

View file

@ -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. * 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 *newtargs = NULL;
alpm_list_t *i, *j, *k, *l; alpm_list_t *i, *j, *k, *l;