Kaydet (Commit) 23075412 authored tarafından Nick Treleaven's avatar Nick Treleaven

Fix sign comparison warning.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1165 ea778897-0a13-0410-b9d1-a72fbfd435f5
üst feae3066
......@@ -321,7 +321,7 @@ void templates_init(void)
* 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 @@ static gchar *make_comment_block(const gchar *comment_text, gint filetype_idx, g
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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment