summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-11-16 14:53:34 -0600
committerDan McGee <dan@archlinux.org>2011-11-16 14:53:34 -0600
commit2752932d1966488c5bcc0c45282b0de5c8bf561e (patch)
tree893162625b82d679320a6e576b3d3642387b78b6
parent919b604c29060b3b14162ef331dfccc018606919 (diff)
downloadpacman-2752932d1966488c5bcc0c45282b0de5c8bf561e.tar.xz
Update alpm_errno_t type to non-enum version
Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r--lib/libalpm/sync.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/sync.c b/lib/libalpm/sync.c
index a80b130f..3817ec84 100644
--- a/lib/libalpm/sync.c
+++ b/lib/libalpm/sync.c
@@ -423,7 +423,7 @@ int _alpm_sync_prepare(alpm_handle_t *handle, alpm_list_t **data)
see if they'd like to ignore them rather than failing the sync */
if(unresolvable != NULL) {
int remove_unresolvable = 0;
- enum _alpm_errno_t saved_err = handle->pm_errno;
+ alpm_errno_t saved_err = handle->pm_errno;
QUESTION(handle, ALPM_QUESTION_REMOVE_PKGS, unresolvable,
NULL, NULL, &remove_unresolvable);
if(remove_unresolvable) {