From 594f1fbbb1c6aa64368c01d92ab5d7533e4e9cfa Mon Sep 17 00:00:00 2001 From: Chantry Xavier Date: Sun, 2 Dec 2007 23:48:12 +0100 Subject: alpm_list : change the alpm_list_find* to return the matching item. alpm_list_find and alpm_list_find_ptr will now return a void *, and alpm_list_find_str will return a char *, instead of an int. Signed-off-by: Chantry Xavier Signed-off-by: Dan McGee --- lib/libalpm/sync.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libalpm/sync.c') diff --git a/lib/libalpm/sync.c b/lib/libalpm/sync.c index f6b130d2..065340c9 100644 --- a/lib/libalpm/sync.c +++ b/lib/libalpm/sync.c @@ -532,7 +532,7 @@ int _alpm_sync_prepare(pmtrans_t *trans, pmdb_t *db_local, alpm_list_t *dbs_sync conflict->package1); if(!local) { char *rmpkg = NULL; - int target, depend; + void *target, *depend; /* hmmm, package2 isn't installed, so it must be conflicting * with another package in our final list. For example: * -- cgit v1.2.3