From: Michael Schroeder Date: Thu, 17 Nov 2016 13:27:29 +0000 (+0100) Subject: pool_intersect_evrs: the evr should be an Id, not an int X-Git-Tag: 0.6.25~19 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=02aee86cfd85f8cb079592ca09af0b40064db844;p=thirdparty%2Flibsolv.git pool_intersect_evrs: the evr should be an Id, not an int --- 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 */