jwoolley 01/08/07 16:26:51
Modified: include apr_xml.h
xml apr_xml.c
Log:
buffer_length should be an apr_size_t
Submitted by: Greg Stein
Revision Changes Path
1.15 +5 -5 apr-util/include/apr_xml.h
Index: apr_xml.h
===================================================================
RCS file: /home/cvs/apr-util/include/apr_xml.h,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -u -r1.14 -r1.15
--- apr_xml.h 2001/08/07 23:02:40 1.14
+++ apr_xml.h 2001/08/07 23:26:51 1.15
@@ -247,19 +247,19 @@
/**
* Parse a File, producing a xml_doc
- * @param pool The pool for allocating the parse results.
+ * @param p The pool for allocating the parse results.
* @param parser A pointer to *parser (needed so calling function can get
* errors), will be set to NULL on successfull completion.
- * @param pdoc A pointer to *apr_xml_doc (which has the parsed results in it)
- * @param xmlfd A file to read from.
- * @param int Buffer length which would be suitable
+ * @param ppdoc A pointer to *apr_xml_doc (which has the parsed results in
it)
+ * @param xmlfd A file to read from.
+ * @param buffer_length Buffer length which would be suitable
* @return Any errors found during parsing.
*/
APU_DECLARE(apr_status_t) apr_xml_parse_file(apr_pool_t *p,
apr_xml_parser **parser,
apr_xml_doc **ppdoc,
apr_file_t *xmlfd,
- int buffer_length);
+ apr_size_t buffer_length);
/**
1.23 +1 -1 apr-util/xml/apr_xml.c
Index: apr_xml.c
===================================================================
RCS file: /home/cvs/apr-util/xml/apr_xml.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -u -r1.22 -r1.23
--- apr_xml.c 2001/08/07 23:02:40 1.22
+++ apr_xml.c 2001/08/07 23:26:51 1.23
@@ -483,7 +483,7 @@
apr_xml_parser **parser,
apr_xml_doc **ppdoc,
apr_file_t *xmlfd,
- int buffer_length)
+ apr_size_t buffer_length)
{
apr_status_t rv;
char *buffer;