apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r585734 - /apr/apr-util/trunk/test/sockperf.c
Date Wed, 17 Oct 2007 22:20:27 GMT
Author: wrowe
Date: Wed Oct 17 15:20:26 2007
New Revision: 585734

URL: http://svn.apache.org/viewvc?rev=585734&view=rev
Log:
Type error

Modified:
    apr/apr-util/trunk/test/sockperf.c

Modified: apr/apr-util/trunk/test/sockperf.c
URL: http://svn.apache.org/viewvc/apr/apr-util/trunk/test/sockperf.c?rev=585734&r1=585733&r2=585734&view=diff
==============================================================================
--- apr/apr-util/trunk/test/sockperf.c (original)
+++ apr/apr-util/trunk/test/sockperf.c Wed Oct 17 15:20:26 2007
@@ -77,7 +77,7 @@
 }
 
 static apr_status_t sendRecvBuffer(apr_time_t *t, const char *buf, 
-                                   int size, apr_pool_t *pool)
+                                   apr_size_t size, apr_pool_t *pool)
 {
     apr_ssl_socket_t *sock;
     apr_status_t rv;
@@ -177,7 +177,8 @@
 {
     char *buffer;
     apr_status_t rv;
-    int i, sz = ts->size * TEST_SIZE;
+    apr_size_t sz = ts->size * TEST_SIZE;
+    int i;
     
     buffer = apr_palloc(pool, sz);
     if (!buffer) {



Mime
View raw message