diff options
author | Michael Schroeder <mls@suse.de> | 2008-11-05 13:46:27 +0000 |
---|---|---|
committer | Michael Schroeder <mls@suse.de> | 2008-11-05 13:46:27 +0000 |
commit | f41acbdf08531db1bad1064091efaf199f00a453 (patch) | |
tree | 2c35ac1d5b74c0080b8290ec969bcbe0d665eab8 /src/repo_solv.c | |
parent | d4a38c4b2394d728afd0344f5b03b173123278ef (diff) | |
download | libsolv-f41acbdf08531db1bad1064091efaf199f00a453.tar.gz libsolv-f41acbdf08531db1bad1064091efaf199f00a453.tar.bz2 libsolv-f41acbdf08531db1bad1064091efaf199f00a453.zip |
- actually "unsigned long" is wrong, too. It should be "size_t" and
"%z". But I don't see why the arithmetics have to be 64bit, going
the other way instead by casting to "int".
Diffstat (limited to 'src/repo_solv.c')
-rw-r--r-- | src/repo_solv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/repo_solv.c b/src/repo_solv.c index ec1df79..89bd41e 100644 --- a/src/repo_solv.c +++ b/src/repo_solv.c @@ -1369,7 +1369,7 @@ printf("=> %s %s %p\n", id2str(pool, keys[key].name), id2str(pool, keys[key].typ POOL_DEBUG(SAT_DEBUG_STATS, "repo_add_solv took %d ms\n", sat_timems(now)); POOL_DEBUG(SAT_DEBUG_STATS, "repo size: %d solvables\n", repo->nsolvables); - POOL_DEBUG(SAT_DEBUG_STATS, "repo memory used: %ld K incore, %ld K idarray\n", (unsigned long)data.incoredatalen/1024, (unsigned long)repo->idarraysize / (1024/sizeof(Id))); + POOL_DEBUG(SAT_DEBUG_STATS, "repo memory used: %d K incore, %d K idarray\n", data.incoredatalen/1024, repo->idarraysize / (int)(1024/sizeof(Id))); return 0; } |