]> git.ipfire.org Git - thirdparty/libsolv.git/commitdiff
pool_intersect_evrs: the evr should be an Id, not an int
authorMichael Schroeder <mls@suse.de>
Thu, 17 Nov 2016 13:27:29 +0000 (14:27 +0100)
committerMichael Schroeder <mls@suse.de>
Thu, 17 Nov 2016 13:27:29 +0000 (14:27 +0100)
src/pool.c
src/pool.h

index 72e22f8ccc31597d31803fe98a077cc63c5d86da..cd59b5f8d7455644d73af9fcf33fbc7145dd1a76 100644 (file)
@@ -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);
 }
index 86d49aa119560501e54e04570eee304cfb358acc..1ae3b11ad941c9c203dc43d79ccd1e8f61482cbd 100644 (file)
@@ -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 */