aboutsummaryrefslogtreecommitdiffstats
path: root/valid.c
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2001-08-26 18:46:36 +0000
committerDaniel Veillard <veillard@src.gnome.org>2001-08-26 18:46:36 +0000
commit268fd1bc97f79b43290041cfda2287fb0b0ef2d6 (patch)
tree2a53a5942f2eca60ba0842a4690dee411551a512 /valid.c
parent6c5f9d14cc2bdf602b57499d001626176e409d1b (diff)
downloadandroid_external_libxml2-268fd1bc97f79b43290041cfda2287fb0b0ef2d6.tar.gz
android_external_libxml2-268fd1bc97f79b43290041cfda2287fb0b0ef2d6.tar.bz2
android_external_libxml2-268fd1bc97f79b43290041cfda2287fb0b0ef2d6.zip
fixed a Windows compiler warning (Chris Poblete) fix for mod when dividend
* valid.c: fixed a Windows compiler warning (Chris Poblete) * xpath.c: fix for mod when dividend is 0 (Chris Poblete) Daniel
Diffstat (limited to 'valid.c')
-rw-r--r--valid.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/valid.c b/valid.c
index 7e4e4df5..29bfcfad 100644
--- a/valid.c
+++ b/valid.c
@@ -3479,7 +3479,8 @@ cont:
* save the second branch 'or' branch
*/
DEBUG_VALID_MSG("saving 'or' branch");
- vstateVPush(ctxt, CONT->c2, NODE, DEPTH + 1, OCCURS, ROLLBACK_OR);
+ vstateVPush(ctxt, CONT->c2, NODE, (unsigned char)(DEPTH + 1),
+ OCCURS, ROLLBACK_OR);
DEPTH++;
CONT = CONT->c1;