diff Plugins/Input/tonegen/tonegen.c @ 701:d539e5c5f730 trunk

[svn] Fixes of the remaining GCC 4.1 warnings from external contributor Diego "Flameeyes" Petteno (Gentoo).
author chainsaw
date Sun, 26 Feb 2006 13:08:35 -0800
parents 7fa1738514d5
children 0cf543c6a088
line wrap: on
line diff
--- a/Plugins/Input/tonegen/tonegen.c	Sun Feb 26 10:21:49 2006 -0800
+++ b/Plugins/Input/tonegen/tonegen.c	Sun Feb 26 13:08:35 2006 -0800
@@ -71,7 +71,7 @@
 {
 	GArray* frequencies = arg;
 	gint16 data[BUF_SAMPLES];
-	int i;
+	gsize i;
 	struct {
 		double wd;
 		unsigned int period, t;
@@ -92,7 +92,7 @@
 	{
 		for (i = 0; i < BUF_SAMPLES; i++)
 		{
-			int j;
+			gsize j;
 			double sum_sines;
 
 			for (sum_sines = 0, j = 0; j < frequencies->len; j++)
@@ -153,7 +153,7 @@
 {
 	GArray *freqs;
 	char* title;
-	int i;
+	gsize i;
 
 	freqs = tone_filename_parse(filename);
 	if (freqs == NULL)