diff options
author | Michael Schroeder <mls@suse.de> | 2012-03-20 13:42:32 +0100 |
---|---|---|
committer | Michael Schroeder <mls@suse.de> | 2012-03-20 13:42:32 +0100 |
commit | 28a396d548e8900f89e36cbeef1b8f1efbd134de (patch) | |
tree | 2bdcb90b05b11810983a70b7ad5a44a000fd84a2 /src/repodata.c | |
parent | 5c93b3b348ce72b3c80e097018135eff6925f5fe (diff) | |
download | libsolv-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.c | 2 |
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; |