You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by dr...@apache.org on 2001/03/29 16:09:03 UTC
cvs commit: apr-util/xml/expat/lib xmlparse.c
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'))