1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-28 00:21:53 +03:00

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
This commit is contained in:
Daniel Veillard
2001-08-26 18:46:36 +00:00
parent 6c5f9d14cc
commit 268fd1bc97
3 changed files with 11 additions and 2 deletions

View File

@ -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;