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

Stephane Bidoul pointed out another small glitch missing a const Daniel

* chvalid.c genChRanges.py: Stephane Bidoul pointed out another
  small glitch missing a const
Daniel
This commit is contained in:
Daniel Veillard
2003-10-22 08:51:21 +00:00
parent fca7d83ba5
commit 2bd4322ce9
3 changed files with 7 additions and 2 deletions

View File

@@ -1,3 +1,8 @@
Wed Oct 22 10:50:31 CEST 2003 Daniel Veillard <daniel@veillard.com>
* chvalid.c genChRanges.py: Stephane Bidoul pointed out another
small glitch missing a const
Wed Oct 22 10:43:21 CEST 2003 Daniel Veillard <daniel@veillard.com> Wed Oct 22 10:43:21 CEST 2003 Daniel Veillard <daniel@veillard.com>
* chvalid.c genChRanges.py: Stephane Bidoul pointed out that * chvalid.c genChRanges.py: Stephane Bidoul pointed out that

View File

@@ -162,7 +162,7 @@ xmlChRangeGroup xmlIsIdeographicGroup =
* Returns: true if character valid, false otherwise * Returns: true if character valid, false otherwise
*/ */
int int
xmlCharInRange (unsigned int val, xmlChRangeGroupPtr rptr) { xmlCharInRange (unsigned int val, const xmlChRangeGroupPtr rptr) {
int low, high, mid; int low, high, mid;
xmlChSRangePtr sptr; xmlChSRangePtr sptr;
xmlChLRangePtr lptr; xmlChLRangePtr lptr;

View File

@@ -482,7 +482,7 @@ output.write(
* Returns: true if character valid, false otherwise * Returns: true if character valid, false otherwise
*/ */
int int
xmlCharInRange (unsigned int val, xmlChRangeGroupPtr rptr) { xmlCharInRange (unsigned int val, const xmlChRangeGroupPtr rptr) {
int low, high, mid; int low, high, mid;
xmlChSRangePtr sptr; xmlChSRangePtr sptr;
xmlChLRangePtr lptr; xmlChLRangePtr lptr;