SF.net SVN: geany: [1165] trunk/src/templates.c
ntrel at users.sourceforge.net
ntrel at xxxxx
Sun Jan 7 13:07:10 UTC 2007
Revision: 1165
http://svn.sourceforge.net/geany/?rev=1165&view=rev
Author: ntrel
Date: 2007-01-07 05:07:09 -0800 (Sun, 07 Jan 2007)
Log Message:
-----------
Fix sign comparison warning.
Modified Paths:
--------------
trunk/src/templates.c
Modified: trunk/src/templates.c
===================================================================
--- trunk/src/templates.c 2007-01-06 21:45:13 UTC (rev 1164)
+++ trunk/src/templates.c 2007-01-07 13:07:09 UTC (rev 1165)
@@ -321,7 +321,7 @@
* e.g. indent = 8 prints " * here comes the text of the line"
* indent is meant to be the whole amount of characters before the real line content follows, i.e.
* 6 characters are filled with whitespace when the comment characters include " *" */
-static gchar *make_comment_block(const gchar *comment_text, gint filetype_idx, gint indent)
+static gchar *make_comment_block(const gchar *comment_text, gint filetype_idx, guint indent)
{
gchar *frame_start = ""; // to add before comment_text
gchar *frame_end = ""; // to add after comment_text
@@ -330,7 +330,7 @@
gchar *tmp;
gchar *prefix;
gchar **lines;
- gint i;
+ guint i;
/// TODO the following switch could be replaced by some intelligent code which reads
/// frame_start, frame_end and line_prefix from the filetype definition files
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