RE: [xml] Release of libxml2-2.6.0



A small patch for a compiler warning
(the implementation of xmlCharInRange
does not match the declaration)

-sbi

Index: chvalid.c
===================================================================
RCS file: /cvs/gnome/gnome-xml/chvalid.c,v
retrieving revision 1.8
diff -c -r1.8 chvalid.c
*** chvalid.c   18 Oct 2003 12:42:40 -0000      1.8
--- chvalid.c   21 Oct 2003 19:07:16 -0000
***************
*** 160,166 ****
   * Returns: true if character valid, false otherwise
   */
  int
! xmlCharInRange (unsigned int val, xmlChRangeGroupPtr rptr) {
      int low, high, mid;
      xmlChSRangePtr sptr;
      xmlChLRangePtr lptr;
--- 160,166 ----
   * Returns: true if character valid, false otherwise
   */
  int
! xmlCharInRange (unsigned int val, const xmlChRangeGroupPtr rptr) {
      int low, high, mid;
      xmlChSRangePtr sptr;
      xmlChLRangePtr lptr;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]