Fixed 'xmlChar' signedness gcc(1) warnings.
[captive.git] / src / libcaptive / sandbox / server-GLogFunc.c
index e03c219..36b47e0 100644 (file)
@@ -25,7 +25,7 @@
 #include <glib/gmessages.h>
 #include "captive/macros.h"
 #include <libxml/tree.h>
-#include "../client/vfs.h"
+#include "../client/vfs-parent.h"
 
 
 static void impl_Captive_GLogFunc_g_log_func
@@ -47,7 +47,7 @@ static POA_Captive_GLogFunc__vepv impl_Captive_GLogFunc_vepv={
 
 
 Captive_GLogFunc impl_Captive_GLogFunc__create
-               (PortableServer_POA poa,CaptiveVfsObject *captive_vfs_object,CORBA_Environment *ev)
+               (PortableServer_POA poa,CaptiveVfsParentObject *captive_vfs_parent_object,CORBA_Environment *ev)
 {
 Captive_GLogFunc retval;
 impl_POA_Captive_GLogFunc *newservant;
@@ -56,7 +56,7 @@ PortableServer_ObjectId *objid;
        captive_new0(newservant);       /* FIXME: leak */
        newservant->servant.vepv=&impl_Captive_GLogFunc_vepv;
        newservant->poa=poa;
-       newservant->captive_vfs_object=captive_vfs_object;
+       newservant->captive_vfs_parent_object=captive_vfs_parent_object;
        POA_Captive_GLogFunc__init((PortableServer_Servant)newservant,ev);
        objid=PortableServer_POA_activate_object(poa,newservant,ev);
        CORBA_free(objid);
@@ -111,9 +111,9 @@ const struct flag_map *flagp;
                {
                xmlNode *xml_message=NULL;
 
-                       if (servant->captive_vfs_object->corba_bug_log) {
-                               xml_message=xmlNewTextChild(servant->captive_vfs_object->corba_bug_log,NULL,"message",g_log_message->message);
-                                       xmlNewProp(xml_message,"level",levelp->name);
+                       if (servant->captive_vfs_parent_object->corba_bug_log) {
+                               xml_message=xmlNewTextChild(servant->captive_vfs_parent_object->corba_bug_log,NULL,BAD_CAST "message",BAD_CAST g_log_message->message);
+                                       xmlNewProp(xml_message,BAD_CAST "level",BAD_CAST levelp->name);
                                }
 
                        log_level_use&=~levelp->from;
@@ -124,7 +124,7 @@ const struct flag_map *flagp;
                                log_level_use&=~flagp->from;
                                log_level_use|= flagp->to;
                                if (xml_message)
-                                       xmlNewProp(xml_message,flagp->name,flagp->name);
+                                       xmlNewProp(xml_message,BAD_CAST flagp->name,BAD_CAST flagp->name);
                                }
                        }
                g_log(G_LOG_DOMAIN,log_level_use,"sandbox: %s%s",