summaryrefslogtreecommitdiff
path: root/test/testsock.c
diff options
context:
space:
mode:
authorrbb <rbb@13f79535-47bb-0310-9956-ffa450edef68>2004-03-15 02:43:48 +0000
committerrbb <rbb@13f79535-47bb-0310-9956-ffa450edef68>2004-03-15 02:43:48 +0000
commit142a14bcdc5ecda7fc57bd07eb87474cb1df8ab9 (patch)
tree07454dd034021ef952fd48dccf43d0056feab992 /test/testsock.c
parentbb80501de4db6378bdb1f0e7568a317160f31945 (diff)
downloadlibapr-142a14bcdc5ecda7fc57bd07eb87474cb1df8ab9.tar.gz
Fix compile warnings on Mac OS X.
Submitted By: Garrett Rooney <rooneg@electricjellyfish.net> git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64994 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/testsock.c')
-rw-r--r--test/testsock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/testsock.c b/test/testsock.c
index 6c8308017..4877f402c 100644
--- a/test/testsock.c
+++ b/test/testsock.c
@@ -108,7 +108,7 @@ static void test_send(CuTest *tc)
apr_socket_t *sock2;
apr_proc_t proc;
int protocol;
- int length;
+ apr_size_t length;
sock = setup_socket(tc);
@@ -139,7 +139,7 @@ static void test_recv(CuTest *tc)
apr_socket_t *sock2;
apr_proc_t proc;
int protocol;
- int length = STRLEN;
+ apr_size_t length = STRLEN;
char datastr[STRLEN];
sock = setup_socket(tc);