Fix compiler warning

This commit is contained in:
Kovid Goyal 2019-11-21 15:50:44 +05:30
parent 9f38f7e6ea
commit ee5dd52ec1
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -361,7 +361,7 @@ static void blur_scan_line(const float* kernel, const int kern_width, const QRgb
scale = 0.0;
k = kernel;
src = source;
for(i=0; i < columns; ++k, src+=offset){
for(i=0; i < columns; ++k, src+=offset, ++i){
if((i >= (x-kern_width/2)) && (i <= (x+kern_width/2))){
aggregate.red += (*k)*qRed(*src);
aggregate.green += (*k)*qGreen(*src);