SF.net SVN: geany: [1344] trunk/src/tools.c
ntrel at users.sourceforge.net
ntrel at xxxxx
Tue Feb 27 15:06:17 UTC 2007
Revision: 1344
http://svn.sourceforge.net/geany/?rev=1344&view=rev
Author: ntrel
Date: 2007-02-27 07:06:17 -0800 (Tue, 27 Feb 2007)
Log Message:
-----------
Fix sign comparison warnings.
Modified Paths:
--------------
trunk/src/tools.c
Modified: trunk/src/tools.c
===================================================================
--- trunk/src/tools.c 2007-02-27 14:53:37 UTC (rev 1343)
+++ trunk/src/tools.c 2007-02-27 15:06:17 UTC (rev 1344)
@@ -633,7 +633,7 @@
static void cc_show_dialog_custom_commands()
{
GtkWidget *dialog, *label, *vbox, *button;
- gint i;
+ guint i;
struct cc_dialog cc;
dialog = gtk_dialog_new_with_buttons(_("Set Custom Commands"), GTK_WINDOW(app->window),
@@ -765,7 +765,7 @@
command_idx = GPOINTER_TO_INT(user_data);
if (app->custom_commands == NULL ||
- command_idx < 0 || command_idx > g_strv_length(app->custom_commands))
+ command_idx < 0 || command_idx > (gint) g_strv_length(app->custom_commands))
{
cc_show_dialog_custom_commands();
return;
@@ -844,7 +844,7 @@
}
else
{
- gint i;
+ guint i;
gint idx = 0;
for (i = 0; i < g_strv_length(app->custom_commands); i++)
{
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