SF.net SVN: geany:[4592] branches/sm/src/sm.c

ntrel at users.sourceforge.net ntrel at xxxxx
Sat Jan 30 12:07:06 UTC 2010


Revision: 4592
          http://geany.svn.sourceforge.net/geany/?rev=4592&view=rev
Author:   ntrel
Date:     2010-01-30 12:07:06 +0000 (Sat, 30 Jan 2010)

Log Message:
-----------
Fix sign comparison warning.

Modified Paths:
--------------
    branches/sm/src/sm.c

Modified: branches/sm/src/sm.c
===================================================================
--- branches/sm/src/sm.c	2010-01-29 19:16:08 UTC (rev 4591)
+++ branches/sm/src/sm.c	2010-01-30 12:07:06 UTC (rev 4592)
@@ -480,7 +480,7 @@
 
 
 		/* free allocated strings storing command-line options and file names */
-	for (i = 2; i < arr->len; i++)
+	for (i = 2; i < (gint)arr->len; i++)
 		if (i != (arr_filenames_begin - 1))
 			g_free(((SmPropValue *)arr->data)[i].value);
 	g_array_free(arr, TRUE);


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Commits mailing list