On Sat, Feb 23, 2008 at 04:32:20PM -0600, Carlo Marcelo Arenas Belon wrote: > > gmond.c: In function 'Ganglia_message_save': > gmond.c:840: warning: passing argument 1 of 'xdr_free' from incompatible > pointer type > gmond.c:840: warning: passing argument 2 of 'xdr_free' from incompatible > pointer type > > attached patch silences it.
Ah okay. I don't see those warnings. Thanks for the update. mh > > Carlo > Index: gmond/gmond.c > =================================================================== > --- gmond/gmond.c (revision 993) > +++ gmond/gmond.c (working copy) > @@ -837,7 +837,7 @@ > > metric->message.id = metric_user_defined; > metric->message.Ganglia_message_u.gmetric = > message->Ganglia_message_u.spmetric.gmetric; > - xdr_free(xdr_Ganglia_spoof_header, > &message->Ganglia_message_u.spmetric.spheader); > + xdr_free((xdrproc_t)xdr_Ganglia_spoof_header, (char > *)&(message->Ganglia_message_u.spmetric.spheader)); > > }else{ > memcpy(&(metric->message), message, sizeof(Ganglia_message)); > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Ganglia-developers mailing list > Ganglia-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/ganglia-developers ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Ganglia-developers mailing list Ganglia-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-developers