summaryrefslogtreecommitdiff
path: root/src/repo_write.c
diff options
context:
space:
mode:
authorMichael Schroeder <mls@suse.de>2012-03-19 11:35:28 +0100
committerMichael Schroeder <mls@suse.de>2012-03-19 11:35:28 +0100
commitd2b47004c22a7df3b92eaa8cbbb3a42ea32d047e (patch)
treedc61054c2981964a666285aab97095fcf2bbd91b /src/repo_write.c
parent493f13f798eed40d2d3a25ca4cac8ceb2cc226ae (diff)
downloadlibsolv-d2b47004c22a7df3b92eaa8cbbb3a42ea32d047e.tar.gz
libsolv-d2b47004c22a7df3b92eaa8cbbb3a42ea32d047e.tar.bz2
libsolv-d2b47004c22a7df3b92eaa8cbbb3a42ea32d047e.zip
- store rpmdbid as TYPE_NUM. This means that TYPE_U32 is actually no longer used and can be deleted in the future
Diffstat (limited to 'src/repo_write.c')
-rw-r--r--src/repo_write.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/repo_write.c b/src/repo_write.c
index 1db6c50..b666d3b 100644
--- a/src/repo_write.c
+++ b/src/repo_write.c
@@ -1072,7 +1072,7 @@ repo_write_filtered(Repo *repo, FILE *fp, int (*keyfilter)(Repo *repo, Repokey *
else if (i < RPM_RPMDBID)
keyd.type = REPOKEY_TYPE_REL_IDARRAY;
else
- keyd.type = REPOKEY_TYPE_U32;
+ keyd.type = REPOKEY_TYPE_NUM;
keyd.size = 0;
keyd.storage = KEY_STORAGE_SOLVABLE;
if (keyfilter)
@@ -1696,7 +1696,7 @@ fprintf(stderr, "dir %d used %d\n", i, cbdata.dirused ? cbdata.dirused[i] : 1);
if (s->enhances && cbdata.keymap[SOLVABLE_ENHANCES])
data_addidarray_sort(xd, pool, needid, idarraydata + s->enhances, 0);
if (repo->rpmdbid && cbdata.keymap[RPM_RPMDBID])
- data_addu32(xd, repo->rpmdbid[i - repo->start]);
+ data_addid(xd, repo->rpmdbid[i - repo->start]);
if (anyrepodataused)
{
cbdata.vstart = -1;