You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by wr...@apache.org on 2007/10/18 00:20:27 UTC

svn commit: r585734 - /apr/apr-util/trunk/test/sockperf.c

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) {