Re: Patch: fix warnings in bonobo



le mer 14-11-2001 à 22:46, Michael Meeks a écrit :
> 
> Hi Federic,
> 
> On 14 Nov 2001, Frederic Crozat wrote:
> > This patch fixes almost all warnings in bonobo stable branch (there is
> > still one left in tests/test-any.c but it is about unused variables so  
> > I don't know if we should remove these variables..)
>  
>         Yes - please do;
> 
> > Can I commit to stable branch ?

Done.

Here is another set of warning removal.  

-- 
Frédéric Crozat
MandrakeSoft
--- bonobo-1.0.17/bonobo/bonobo-arg.c.warnings1	Tue Mar 13 09:20:58 2001
+++ bonobo-1.0.17/bonobo/bonobo-arg.c	Thu Nov 15 13:48:46 2001
@@ -77,7 +77,7 @@
 		copy->_type = TC_null;
 		g_warning ("Duplicating a NULL Bonobo Arg");
 	} else
-		CORBA_any__copy (copy, arg);
+		CORBA_any__copy (copy, (BonoboArg *) arg);
 
 	return copy;
 }
--- bonobo-1.0.17/monikers/bonobo-moniker-extender-file.c.warnings1	Tue Jun 19 17:40:13 2001
+++ bonobo-1.0.17/monikers/bonobo-moniker-extender-file.c	Thu Nov 15 13:56:02 2001
@@ -66,7 +66,7 @@
 
 	CORBA_free (result);
 
-	object = bonobo_url_lookup (oafiid, display_name, ev);
+	object = bonobo_url_lookup (oafiid, (char *) display_name, ev);
 	if (!BONOBO_EX (ev) && object != CORBA_OBJECT_NIL) {
 		g_free (oafiid);
 		Bonobo_Unknown_ref (object, ev);


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