summaryrefslogtreecommitdiff
path: root/src/repodata.c
diff options
context:
space:
mode:
authorMichael Schroeder <mls@suse.de>2012-03-20 13:42:32 +0100
committerMichael Schroeder <mls@suse.de>2012-03-20 13:42:32 +0100
commit28a396d548e8900f89e36cbeef1b8f1efbd134de (patch)
tree2bdcb90b05b11810983a70b7ad5a44a000fd84a2 /src/repodata.c
parent5c93b3b348ce72b3c80e097018135eff6925f5fe (diff)
downloadlibsolv-28a396d548e8900f89e36cbeef1b8f1efbd134de.tar.gz
libsolv-28a396d548e8900f89e36cbeef1b8f1efbd134de.tar.bz2
libsolv-28a396d548e8900f89e36cbeef1b8f1efbd134de.zip
- reuse string/rel hashes in repo_add_solv where possible
Diffstat (limited to 'src/repodata.c')
-rw-r--r--src/repodata.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/repodata.c b/src/repodata.c
index 8f1771b..a282159 100644
--- a/src/repodata.c
+++ b/src/repodata.c
@@ -2592,7 +2592,7 @@ repodata_serialize_key(Repodata *data, struct extdata *newincore,
{
Id len;
unsigned char *dp = data_read_id(data->attrdata + val, &len);
- dp += len;
+ dp += (unsigned int)len;
data_addblob(xd, data->attrdata + val, dp - (data->attrdata + val));
}
break;