diff options
author | Dirk Mueller <dmueller@suse.de> | 2009-05-28 21:45:58 +0200 |
---|---|---|
committer | Dirk Mueller <dmueller@oldboy.suse.de> | 2009-05-28 21:45:58 +0200 |
commit | fc1f7f7f56be81440279831ceb9bb9ba5649f7bf (patch) | |
tree | a0b5c87a9eafea30c13d12654fa96e040e671bfb /src/repo.c | |
parent | 80668d4a0495b440b6650935665831b5a91ce762 (diff) | |
download | libsolv-fc1f7f7f56be81440279831ceb9bb9ba5649f7bf.tar.gz libsolv-fc1f7f7f56be81440279831ceb9bb9ba5649f7bf.tar.bz2 libsolv-fc1f7f7f56be81440279831ceb9bb9ba5649f7bf.zip |
void* arithmetics is not defined
Diffstat (limited to 'src/repo.c')
-rw-r--r-- | src/repo.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -334,7 +334,7 @@ repo_sidedata_extend(Repo *repo, void *b, size_t size, Id p, int count) { int d = repo->start - p; b = sat_extend(b, n, d, size, REPO_SIDEDATA_BLOCK); - memmove(b + d * size, b, n * size); + memmove((char*)b + d * size, b, n * size); memset(b, 0, d * size); n += d; } @@ -342,7 +342,7 @@ repo_sidedata_extend(Repo *repo, void *b, size_t size, Id p, int count) { int d = p + count - repo->end; b = sat_extend(b, n, d, size, REPO_SIDEDATA_BLOCK); - memset(b + n * size, 0, d * size); + memset((char*)b + n * size, 0, d * size); } return b; } |