SF.net SVN: geany: [555] trunk/tagmanager
ntrel at users.sourceforge.net
ntrel at xxxxx
Fri Jul 14 13:47:08 UTC 2006
Revision: 555
Author: ntrel
Date: 2006-07-14 06:47:03 -0700 (Fri, 14 Jul 2006)
ViewCVS: http://svn.sourceforge.net/geany/?rev=555&view=rev
Log Message:
-----------
Fix some signed comparison warnings
Modified Paths:
--------------
trunk/tagmanager/tm_project.c
trunk/tagmanager/tm_workspace.c
Modified: trunk/tagmanager/tm_project.c
===================================================================
--- trunk/tagmanager/tm_project.c 2006-07-14 10:48:02 UTC (rev 554)
+++ trunk/tagmanager/tm_project.c 2006-07-14 13:47:03 UTC (rev 555)
@@ -533,7 +533,7 @@
tm_work_object_dump(TM_WORK_OBJECT(p));
if (p->file_list)
{
- int i;
+ guint i;
for (i=0; i < p->file_list->len; ++i)
{
fprintf(stderr, "->\t");
Modified: trunk/tagmanager/tm_workspace.c
===================================================================
--- trunk/tagmanager/tm_workspace.c 2006-07-14 10:48:02 UTC (rev 554)
+++ trunk/tagmanager/tm_workspace.c 2006-07-14 13:47:03 UTC (rev 555)
@@ -163,16 +163,16 @@
glob_t globbuf;
#endif
int idx_inc;
- int idx_glob;
+ size_t idx_glob;
char *command;
guint i;
FILE *fp;
TMWorkObject *source_file;
GPtrArray *tags_array;
GList *includes_files = NULL;
- int list_len;
- int idx_main;
- int idx_sub;
+ guint list_len;
+ guint idx_main;
+ guint idx_sub;
int remove_count = 0;
#ifdef G_OS_WIN32
char *temp_file = g_strdup_printf("%s_%d_%ld_1.cpp", P_tmpdir, getpid(), time(NULL));
@@ -428,7 +428,7 @@
tm_work_object_dump(TM_WORK_OBJECT(theWorkspace));
if (theWorkspace->work_objects)
{
- int i;
+ guint i;
for (i=0; i < theWorkspace->work_objects->len; ++i)
{
if (IS_TM_PROJECT(TM_WORK_OBJECT(theWorkspace->work_objects->pdata[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