Mercurial > audlegacy-plugins
comparison src/paranormal/general.c @ 2186:a509498d76b9
fixed warnings
author | mf0102 <0102@gmx.at> |
---|---|
date | Sun, 25 Nov 2007 17:47:11 +0100 |
parents | 56bb18dd3fdd |
children | f1b6f1b2cdb3 |
comparison
equal
deleted
inserted
replaced
2185:145966acb0c4 | 2186:a509498d76b9 |
---|---|
127 gpointer data) | 127 gpointer data) |
128 { | 128 { |
129 int i,j; | 129 int i,j; |
130 register guchar *srcptr = pn_image_data->surface[0]; | 130 register guchar *srcptr = pn_image_data->surface[0]; |
131 register guchar *destptr = pn_image_data->surface[1]; | 131 register guchar *destptr = pn_image_data->surface[1]; |
132 register int sum; | |
133 int radius = opts[0].val.ival > 255 || opts[0].val.ival < 0 ? 6 : opts[0].val.ival; | 132 int radius = opts[0].val.ival > 255 || opts[0].val.ival < 0 ? 6 : opts[0].val.ival; |
134 | 133 |
135 for (j=0; j<pn_image_data->height; j += radius) | 134 for (j=0; j<pn_image_data->height; j += radius) |
136 for (i=0; i<pn_image_data->width; i += radius) | 135 for (i=0; i<pn_image_data->width; i += radius) |
137 { | 136 { |