SF.net SVN: geany:[4213] trunk/src/editor.c

eht16 at users.sourceforge.net eht16 at xxxxx
Sun Sep 20 19:09:24 UTC 2009


Revision: 4213
          http://geany.svn.sourceforge.net/geany/?rev=4213&view=rev
Author:   eht16
Date:     2009-09-20 19:09:24 +0000 (Sun, 20 Sep 2009)

Log Message:
-----------
Fix integer conversion

Modified Paths:
--------------
    trunk/src/editor.c

Modified: trunk/src/editor.c
===================================================================
--- trunk/src/editor.c	2009-09-20 19:06:48 UTC (rev 4212)
+++ trunk/src/editor.c	2009-09-20 19:09:24 UTC (rev 4213)
@@ -2176,7 +2176,7 @@
 	{
 		gint offset;
 
-		offset = (gint)g_queue_pop_head(snippet_offsets);
+		offset = GPOINTER_TO_INT(g_queue_pop_head(snippet_offsets));
 		if (current_pos > snippet_cursor_insert_pos)
 			snippet_cursor_insert_pos = offset + current_pos;
 		else


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