From 02aee86cfd85f8cb079592ca09af0b40064db844 Mon Sep 17 00:00:00 2001 From: Michael Schroeder Date: Thu, 17 Nov 2016 14:27:29 +0100 Subject: [PATCH] pool_intersect_evrs: the evr should be an Id, not an int --- src/pool.c | 2 +- src/pool.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pool.c b/src/pool.c index 72e22f8c..cd59b5f8 100644 --- a/src/pool.c +++ b/src/pool.c @@ -799,7 +799,7 @@ pool_match_flags_evr_rel_compat(Pool *pool, Reldep *range, int flags, int evr) /* public (i.e. not inlined) version of pool_match_flags_evr */ int -pool_intersect_evrs(Pool *pool, int pflags, Id pevr, int flags, int evr) +pool_intersect_evrs(Pool *pool, int pflags, Id pevr, int flags, Id evr) { return pool_match_flags_evr(pool, pflags, pevr, flags, evr); } diff --git a/src/pool.h b/src/pool.h index 86d49aa1..1ae3b11a 100644 --- a/src/pool.h +++ b/src/pool.h @@ -289,7 +289,7 @@ static inline const char *pool_solvid2str(Pool *pool, Id p) void pool_set_languages(Pool *pool, const char **languages, int nlanguages); Id pool_id2langid(Pool *pool, Id id, const char *lang, int create); -int pool_intersect_evrs(Pool *pool, int pflags, Id pevr, int flags, int evr); +int pool_intersect_evrs(Pool *pool, int pflags, Id pevr, int flags, Id evr); int pool_match_dep(Pool *pool, Id d1, Id d2); /* semi private, used in pool_match_nevr */ -- 2.47.2