More warning fixes in gnome-libs.



A couple of warnings fixed I hope.

Are these ok?

Cheers
Kjartan
--- fonts.c.old	Thu Feb 12 04:08:37 1998
+++ fonts.c	Sun May 10 00:13:57 1998
@@ -1524,7 +1524,7 @@
 	info->hits      = cache->hits;			/* no of hits */
 	info->misses    = cache->misses;		/* no of font cache misses */
 	info->nwidgets  = cache->nwidgets;		/* no of widgets using this cache */
-	info->widgets   = cache->widgets;
+	info->widgets   = (WidgetList)cache->widgets;
 	info->fonts     = (String*)calloc(info->nentries, sizeof(String));
 	info->mapping   = (String*)calloc(info->nentries, sizeof(String));
 
--- gtk-forms.c.old	Sun May 10 00:20:23 1998
+++ gtk-forms.c	Sun May 10 00:17:39 1998
@@ -1244,7 +1244,7 @@
 	current_entry = NULL;
 
 	/* set form owner */
-	form->html = html;
+	form->html = (Widget)html;
 
 	/* pick up action */
 	if((form->action = _XmHTMLTagGetValue(attributes, "action")) == NULL)


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