You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by bj...@apache.org on 2001/02/23 11:15:08 UTC

cvs commit: httpd-2.0/modules/dav/fs lock.c repos.c

bjh         01/02/23 02:15:08

  Modified:    modules/dav/fs lock.c repos.c
  Log:
  Clean up a bunch of incompatible pointer type warnings.
  
  Revision  Changes    Path
  1.17      +2 -2      httpd-2.0/modules/dav/fs/lock.c
  
  Index: lock.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/dav/fs/lock.c,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- lock.c	2001/02/16 04:26:35	1.16
  +++ lock.c	2001/02/23 10:15:08	1.17
  @@ -819,7 +819,7 @@
       apr_finfo_t finfo;
       apr_file_t *file = NULL;
       dav_error *err = NULL;
  -    apr_ssize_t amt;
  +    apr_size_t amt;
   
       dav_buffer_init(p, pbuf, dirpath);
   
  @@ -873,7 +873,7 @@
       const char *pathname;
       apr_file_t *file = NULL;
       dav_error *err = NULL;
  -    apr_ssize_t amt;
  +    apr_size_t amt;
   
       if (pbuf->buf == NULL)
   	return NULL;
  
  
  
  1.52      +2 -2      httpd-2.0/modules/dav/fs/repos.c
  
  Index: repos.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/dav/fs/repos.c,v
  retrieving revision 1.51
  retrieving revision 1.52
  diff -u -r1.51 -r1.52
  --- repos.c	2001/02/16 04:26:35	1.51
  +++ repos.c	2001/02/23 10:15:08	1.52
  @@ -324,7 +324,7 @@
       }
   
       while (1) {
  -	apr_ssize_t len = DAV_FS_COPY_BLOCKSIZE;
  +	apr_size_t len = DAV_FS_COPY_BLOCKSIZE;
   	apr_status_t status;
   
   	status = apr_file_read(inf, pbuf->buf, &len);
  @@ -853,7 +853,7 @@
   static dav_error * dav_fs_read_stream(dav_stream *stream,
   				      void *buf, apr_size_t *bufsize)
   {
  -    if (apr_file_read(stream->f, buf, (apr_ssize_t *)bufsize) != APR_SUCCESS) {
  +    if (apr_file_read(stream->f, buf, bufsize) != APR_SUCCESS) {
   	/* ### use something besides 500? */
   	return dav_new_error(stream->p, HTTP_INTERNAL_SERVER_ERROR, 0,
   			     "An error occurred while reading from a "