apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dr...@apache.org
Subject cvs commit: apr-util/xml/expat/lib xmlparse.c
Date Thu, 29 Mar 2001 14:09:03 GMT
dreid       01/03/29 06:09:03

  Modified:    xml/expat/lib xmlparse.c
  Log:
  Stop a compiler warning on BeOS.
  
  Revision  Changes    Path
  1.2       +3 -3      apr-util/xml/expat/lib/xmlparse.c
  
  Index: xmlparse.c
  ===================================================================
  RCS file: /home/cvs/apr-util/xml/expat/lib/xmlparse.c,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- xmlparse.c	2001/02/28 14:41:26	1.1
  +++ xmlparse.c	2001/03/29 14:09:02	1.2
  @@ -4,7 +4,7 @@
   */
   
   static char RCSId[]
  -  = "$Header: /home/cvs/apr-util/xml/expat/lib/xmlparse.c,v 1.1 2001/02/28 14:41:26 gstein
Exp $";
  +  = "$Header: /home/cvs/apr-util/xml/expat/lib/xmlparse.c,v 1.2 2001/03/29 14:09:02 dreid
Exp $";
   
   #ifdef COMPILED_FROM_DSP
   #  include "winconfig.h"
  @@ -2753,7 +2753,7 @@
   	return XML_ERROR_NO_MEMORY;
         if (attlistDeclHandler && declAttributeType) {
   	if (*declAttributeType == '('
  -	    || *declAttributeType == 'N' && declAttributeType[1] == 'O') {
  +	    || (*declAttributeType == 'N' && declAttributeType[1] == 'O')) {
   	  /* Enumerated or Notation type */
   	  if (! poolAppendChar(&tempPool, ')')
   	      || ! poolAppendChar(&tempPool, '\0'))
  @@ -2787,7 +2787,7 @@
   	  return XML_ERROR_NO_MEMORY;
   	if (attlistDeclHandler && declAttributeType) {
   	  if (*declAttributeType == '('
  -	      || *declAttributeType == 'N' && declAttributeType[1] == 'O') {
  +	      || (*declAttributeType == 'N' && declAttributeType[1] == 'O')) {
   	    /* Enumerated or Notation type */
   	    if (! poolAppendChar(&tempPool, ')')
   		|| ! poolAppendChar(&tempPool, '\0'))
  
  
  

Mime
View raw message