From 7be3b6e2668cb1a90b71c89c313b58897c01b3d2 Mon Sep 17 00:00:00 2001 From: Dave Beckett Date: Sun, 13 Sep 2020 07:19:33 -0700 Subject: cast for warning --- src/raptor_qname.c | 4 ++-- 1 file 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; } -- cgit v1.2.1