summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Beckett <dave@dajobe.org>2020-09-13 07:19:33 -0700
committerDave Beckett <dave@dajobe.org>2020-09-13 07:19:33 -0700
commit7be3b6e2668cb1a90b71c89c313b58897c01b3d2 (patch)
tree851d414f731a752911b32dab5b077ee7c3142fec
parentef7a73f8d253606de6534dba8977a1a7ac5f7994 (diff)
downloadraptor-7be3b6e2668cb1a90b71c89c313b58897c01b3d2.tar.gz
cast for warning
-rw-r--r--src/raptor_qname.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/raptor_qname.c b/src/raptor_qname.c
index 24fbd4dd..3995f8fd 100644
--- a/src/raptor_qname.c
+++ b/src/raptor_qname.c
@@ -154,7 +154,7 @@ raptor_new_qname(raptor_namespace_stack *nstack,
if(ns) {
qname->nspace = ns;
#if defined(RAPTOR_DEBUG) && RAPTOR_DEBUG > 1
- RAPTOR_DEBUG2("Found default namespace with URI %s\n", ns->uri ? raptor_uri_as_string(ns->uri) : "None");
+ RAPTOR_DEBUG2("Found default namespace with URI %s\n", ns->uri ? raptor_uri_as_string(ns->uri) : (unsigned char*)"None");
#endif
} else {
#if defined(RAPTOR_DEBUG) && RAPTOR_DEBUG > 1
@@ -190,7 +190,7 @@ raptor_new_qname(raptor_namespace_stack *nstack,
"The namespace prefix in \"%s\" was not declared.", name);
} else {
#if defined(RAPTOR_DEBUG) && RAPTOR_DEBUG > 1
- RAPTOR_DEBUG3("Found namespace prefix %s URI %s\n", ns->prefix, ns->uri ? raptor_uri_as_string(ns->uri) : "None");
+ RAPTOR_DEBUG3("Found namespace prefix %s URI %s\n", ns->prefix, ns->uri ? raptor_uri_as_string(ns->uri) : (unsigned char*)"None");
#endif
qname->nspace = ns;
}