[Opendnssec-commits] [keihatsu.kirei.se/svn/dnssec] r3715 - trunk/OpenDNSSEC/signer/src/parser

Jakob Schlyter jakob at kirei.se
Tue Aug 10 22:28:56 CEST 2010


Author: jakob
Date: 2010-08-10 22:28:56 +0200 (Tue, 10 Aug 2010)
New Revision: 3715

Modified:
   trunk/OpenDNSSEC/signer/src/parser/confparser.c
Log:
cast xmlChar* to char*

Modified: trunk/OpenDNSSEC/signer/src/parser/confparser.c
===================================================================
--- trunk/OpenDNSSEC/signer/src/parser/confparser.c	2010-08-10 20:24:33 UTC (rev 3714)
+++ trunk/OpenDNSSEC/signer/src/parser/confparser.c	2010-08-10 20:28:56 UTC (rev 3715)
@@ -154,7 +154,8 @@
     xpathCtx = xmlXPathNewContext(doc);
     if (xpathCtx == NULL) {
         se_log_error("unable to create new XPath context for cfgile %s expr %s",
-            cfgfile?cfgfile:"(null)", expr?expr:"(null)");
+            cfgfile?cfgfile:"(null)",
+            expr?(char *)expr:"(null)");
         xmlFreeDoc(doc);
         return NULL;
     }
@@ -165,7 +166,8 @@
         xpathObj->nodesetval->nodeNr <= 0) {
         if (required) {
             se_log_error("unable to evaluate required element %s in cfgfile %s",
-                xexpr?xexpr:"(null)", cfgfile?cfgfile:"(null)");
+                xexpr?(char *)xexpr:"(null)",
+                cfgfile?cfgfile:"(null)");
         }
         xmlXPathFreeContext(xpathCtx);
         if (xpathObj) {




More information about the Opendnssec-commits mailing list