]> git.ipfire.org Git - thirdparty/libsolv.git/commitdiff
Allow the complete 32bit for the rpm database id
authorMichael Schroeder <mls@suse.de>
Wed, 5 Jun 2019 13:18:26 +0000 (15:18 +0200)
committerMichael Schroeder <mls@suse.de>
Wed, 5 Jun 2019 13:18:26 +0000 (15:18 +0200)
src/repo_solv.c

index be339677a8432c614e9c27ea914bacef59acaeb5..761d06e6b50fd55f25bd65dda78d56008df68082 100644 (file)
@@ -1220,7 +1220,7 @@ printf("=> %s %s %p\n", pool_id2str(pool, keys[key].name), pool_id2str(pool, key
        default:
          if (id == RPM_RPMDBID && s && keys[key].type == REPOKEY_TYPE_NUM)
            {
-             dp = data_read_id_max(dp, &id, 0, 0, &data);
+             dp = data_read_id(dp, &id);
              if (!repo->rpmdbid)
                repo->rpmdbid = repo_sidedata_create(repo, sizeof(Id));
              repo->rpmdbid[(s - pool->solvables) - repo->start] = id;