summaryrefslogtreecommitdiff
path: root/xmlschemastypes.c
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2005-12-10 11:11:12 +0000
committerDaniel Veillard <veillard@src.gnome.org>2005-12-10 11:11:12 +0000
commit6a0baa0cd89b402cdfbb63e9c40f291ebd191f1d (patch)
treeae52209e948d18cae432e347012b7265177e9daf /xmlschemastypes.c
parentffe47feb2725849a6eb47299af87548fa0f52d4f (diff)
downloadlibxml2-6a0baa0cd89b402cdfbb63e9c40f291ebd191f1d.tar.gz
fixed a number of warnings shown by HP-UX compiler and reported by Rick
* HTMLparser.c configure.in parserInternals.c runsuite.c runtest.c testapi.c xmlschemas.c xmlschemastypes.c xmlstring.c: fixed a number of warnings shown by HP-UX compiler and reported by Rick Jones Daniel
Diffstat (limited to 'xmlschemastypes.c')
-rw-r--r--xmlschemastypes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmlschemastypes.c b/xmlschemastypes.c
index bff445a1..ffb25059 100644
--- a/xmlschemastypes.c
+++ b/xmlschemastypes.c
@@ -1696,7 +1696,7 @@ xmlSchemaValidateDates (xmlSchemaValType type,
ret = _xmlSchemaParseTimeZone(&(dt->value.date), &cur);
if (collapse)
while IS_WSP_BLANK_CH(*cur) cur++;
- if ((ret != 0) || (*cur != 0) || !VALID_DATETIME((&(dt->value.date))))
+ if ((ret != 0) || (*cur != 0) || (!(VALID_DATETIME((&(dt->value.date))))))
goto error;