httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r191174 - /httpd/httpd/trunk/modules/cache/mod_disk_cache.c
Date Fri, 17 Jun 2005 16:27:59 GMT
Author: wrowe
Date: Fri Jun 17 09:27:58 2005
New Revision: 191174

URL: http://svn.apache.org/viewcvs?rev=191174&view=rev
Log:

  caddr_t is quite non-portable, but a (void*) will do the trick.

Modified:
    httpd/httpd/trunk/modules/cache/mod_disk_cache.c

Modified: httpd/httpd/trunk/modules/cache/mod_disk_cache.c
URL: http://svn.apache.org/viewcvs/httpd/httpd/trunk/modules/cache/mod_disk_cache.c?rev=191174&r1=191173&r2=191174&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/cache/mod_disk_cache.c (original)
+++ httpd/httpd/trunk/modules/cache/mod_disk_cache.c Fri Jun 17 09:27:58 2005
@@ -811,7 +811,7 @@
 
     disk_info.name_len = strlen(dobj->name);
 
-    iov[0].iov_base = (caddr_t)&disk_info;
+    iov[0].iov_base = (void*)&disk_info;
     iov[0].iov_len = sizeof(disk_cache_info_t);
     iov[1].iov_base = (void*)dobj->name;
     iov[1].iov_len = disk_info.name_len;



Mime
View raw message