Re: can anybody tell me the reason ??
Aleksandar Janicijevic <[email protected]>
| Newsgroups | gmane.text.xml.rpc.specification |
|---|---|
| Message-ID | <[email protected]> |
I think the best idea would be to program some more in C, then
eventually it will all come. But short term, here's my advice:
> HA_result=xmlrpc_client_call_asynch(HA_URL,"server.
> logoutbb",callback,NULL,"(i6s)",(xmlrpc_int32) iSaveSettings,(char *)
>
> ...
>
> but compilation gives following error :->
> bb_xmlserver1.c:10625: warning: passing arg 4 of
> `xmlrpc_client_call_asynch' makes pointer from integer without a cast
> bb_xmlserver1.c:10625: void value not ignored as it ought to be
>
Is xmlrpc_client_call_asynch defined as a void function? That is,
extern void
xmlrpc_client_call_asynch (char *server_url,
char *method_name,
xmlrpc_response_handler callback,
void *user_data,
char *args_format,
...);
If yes, then you can't take result from this function and put it into
HA_result. Doesn't work.
The warning is harmless, but you can get rid of it by setting the
fourth parameter to (void*) NULL.
Regards,
Aleksandar
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/xml-rpc/
<*> To unsubscribe from this group, send an email to:
[email protected]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/