Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2008-12-21 15:23:16 +0000
committerStijn Buys <ingar@osirion.org>2008-12-21 15:23:16 +0000
commit7d06239dcc150a7bd2521972ee680fd2c9003580 (patch)
tree777070bc639132c12418b33002e3159f7415152f /src/render/image.cc
parent7857210368178b26b8f863a296094518aaff5174 (diff)
win32 build updates
Diffstat (limited to 'src/render/image.cc')
-rw-r--r--src/render/image.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/image.cc b/src/render/image.cc
index e740d56..196eec9 100644
--- a/src/render/image.cc
+++ b/src/render/image.cc
@@ -62,7 +62,7 @@ void Image::pad()
for (size_t y =0; y < h; y++) {
memcpy((void *)&image_new[y * image_width * image_channels],
- (void *)image_data[y * w * image_channels], (size_t) w);
+ (void *)&image_data[y * w * image_channels], (size_t) w);
}
free(image_data);