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 7458528..60fdee5 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 d86ff93..943cf80 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 */