[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[xml] [PATCH] minor compiler warning in xmlschemas.c (fwd)



Apologies, I posted from the wrong address...

Steve

---------- Forwarded message ----------
Date: Thu, 1 Apr 2004 11:07:24 +0100 (BST)
From: Steve Little <boz icradio com>
To: xml gnome org
Subject: [PATCH] minor compiler warning in xmlschemas.c

Hi Daniel,
	Just another very minor patch to correct a compiler warning about
signed-ness in xmlschemas.c.
	Hope it's ok.

Thanks,

Steve
*** xmlschemas.corig	Thu Apr  1 11:04:44 2004
--- xmlschemas.c	Thu Apr  1 11:04:55 2004
***************
*** 1492,1498 ****
      if (val == NULL)
          return (NULL);
  
!     if (!strchr(val, ':')) {
  	ns = xmlSearchNs(node->doc, node, 0);
  	if (ns) {
  	    *namespace = xmlDictLookup(ctxt->dict, ns->href, -1);
--- 1492,1498 ----
      if (val == NULL)
          return (NULL);
  
!     if (!strchr((char *)val, ':')) {
  	ns = xmlSearchNs(node->doc, node, 0);
  	if (ns) {
  	    *namespace = xmlDictLookup(ctxt->dict, ns->href, -1);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]