gtk+ r21003 - in trunk: . gtk



Author: tml
Date: Mon Aug  4 23:55:40 2008
New Revision: 21003
URL: http://svn.gnome.org/viewvc/gtk+?rev=21003&view=rev

Log:
2008-08-05  Tor Lillqvist  <tml novell com>

	* gtk/gtktext.c: Cast pointer to gintptr instead of gulong to
	avoid warning on Win64.



Modified:
   trunk/ChangeLog
   trunk/gtk/gtktext.c

Modified: trunk/gtk/gtktext.c
==============================================================================
--- trunk/gtk/gtktext.c	(original)
+++ trunk/gtk/gtktext.c	Mon Aug  4 23:55:40 2008
@@ -2191,7 +2191,7 @@
 {
   tab_cont->pixel_offset          = 0;
   tab_cont->tab_start.tab_stops   = text->tab_stops;
-  tab_cont->tab_start.to_next_tab = (gulong) text->tab_stops->data;
+  tab_cont->tab_start.to_next_tab = (gintptr) text->tab_stops->data;
   
   if (!tab_cont->tab_start.to_next_tab)
     tab_cont->tab_start.to_next_tab = text->default_tab_width;
@@ -3545,7 +3545,7 @@
       if (tab_mark->tab_stops->next)
 	{
 	  tab_mark->tab_stops = tab_mark->tab_stops->next;
-	  tab_mark->to_next_tab = (gulong) tab_mark->tab_stops->data;
+	  tab_mark->to_next_tab = (gintptr) tab_mark->tab_stops->data;
 	}
       else
 	{



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]