aboutsummaryrefslogtreecommitdiffstats
path: root/src/scale.c
diff options
context:
space:
mode:
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)];