]> git.ipfire.org Git - thirdparty/libsolv.git/commitdiff
make the difference between repodata_set_constant() (numeric constant) and
authorKlaus Kaempf <kkaempf@suse.de>
Tue, 8 Apr 2008 11:58:57 +0000 (11:58 +0000)
committerKlaus Kaempf <kkaempf@suse.de>
Tue, 8 Apr 2008 11:58:57 +0000 (11:58 +0000)
repodata_set_constantid() (Id constant) obvious in the prototype.

src/repodata.c
src/repodata.h

index 7458528aa6f86d3ca7f89259da5f92d954608394..60fdee53aa9dd5dae2ad352eb5a1596155246618 100644 (file)
@@ -1190,7 +1190,7 @@ repodata_set_poolstr(Repodata *data, Id entry, Id keyname, const char *str)
 }
 
 void
-repodata_set_constant(Repodata *data, Id entry, Id keyname, Id constant)
+repodata_set_constant(Repodata *data, Id entry, Id keyname, unsigned int constant)
 {
   Repokey key;
   key.name = keyname;
index d86ff93c1309ea0ffa40558d8c10402ce3fc51c2..943cf808d200541c4c3a70dfdce01d3d9944d132 100644 (file)
@@ -158,7 +158,7 @@ void repodata_set_id(Repodata *data, Id entry, Id keyname, Id id);
 /*  */
 
 void repodata_set_poolstr(Repodata *data, Id entry, Id keyname, const char *str);
-void repodata_set_constant(Repodata *data, Id entry, Id keyname, Id constant);
+void repodata_set_constant(Repodata *data, Id entry, Id keyname, unsigned int constant);
 void repodata_set_constantid(Repodata *data, Id entry, Id keyname, Id id);
 
 /* checksum */