Diff of /fourier.c [512b9c] .. [ebced6]  Maximize  Restore

Switch to side-by-side view

--- a/fourier.c
+++ b/fourier.c
@@ -615,7 +615,7 @@
 		dy = y * image->width;
 		for( x=0; x<image->width; x++)
 		{
-			data[ cy + bpp * x ] = gamma_correct( re[ dy + x ] * scale );
+			data[ cy + bpp * x ] = (unsigned char)(gamma_correct( re[ dy + x ] * scale ));
 		}
 	}
 	// Dangerous, but should be ok

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks