aboutsummaryrefslogtreecommitdiffstats
path: root/src/scale.c
diff options
context:
space:
mode:
authorJohn Hawthorn <john.hawthorn@gmail.com>2010-01-04 10:09:04 -0800
committerJohn Hawthorn <john.hawthorn@gmail.com>2010-01-04 10:09:04 -0800
commitbdfc9445506d72d3eec7c3902449efaf13cf0d98 (patch)
tree2c75e72e332c11a3fa290c08355ea850f5612f9c /src/scale.c
parentd6bffd293a1443d90c22c24ea162d4ebd6004b00 (diff)
downloadmirror-meh-bdfc9445506d72d3eec7c3902449efaf13cf0d98.tar.gz
mirror-meh-bdfc9445506d72d3eec7c3902449efaf13cf0d98.tar.bz2
mirror-meh-bdfc9445506d72d3eec7c3902449efaf13cf0d98.zip
major cleanup. xlib methods have been abstracted away as a generic
backend. Represent image states as flags.
Diffstat (limited to 'src/scale.c')
-rw-r--r--src/scale.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scale.c b/src/scale.c
index 92db4a8..eb9e689 100644
--- a/src/scale.c
+++ b/src/scale.c
@@ -65,7 +65,7 @@ static void superscale(struct image *img, unsigned int width, unsigned int heigh
}
unsigned int y0;
- int * __restrict__ dest;
+ unsigned int * __restrict__ dest;
for(y = 0; y < img->bufheight;){
unsigned int ydiv = divy[y * height / img->bufheight];
char * __restrict__ ydest = &newBuf[bytesperline * (y * height / img->bufheight)];