diff options
author | rbb <rbb@13f79535-47bb-0310-9956-ffa450edef68> | 2004-03-15 02:14:58 +0000 |
---|---|---|
committer | rbb <rbb@13f79535-47bb-0310-9956-ffa450edef68> | 2004-03-15 02:14:58 +0000 |
commit | 472210f2cb5c911d3fbc9b1d77ccd41c9c2ee156 (patch) | |
tree | cf2d68ad6a313fa83921eb95abf2b6b4a73ddced | |
parent | effa22077554f89033bcede762260a04d5ba42d3 (diff) | |
download | libapr-472210f2cb5c911d3fbc9b1d77ccd41c9c2ee156.tar.gz |
Fix compile warnings in sockchild.c on Mac OS X
Submitted By: Garrett Rooney <rooneg@electricjellyfish.net>
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64992 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | test/sockchild.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/sockchild.c b/test/sockchild.c index 65ca84872..7693bd105 100644 --- a/test/sockchild.c +++ b/test/sockchild.c @@ -52,7 +52,7 @@ int main(int argc, char *argv[]) if (!strcmp("read", argv[1])) { char datarecv[STRLEN]; - int length = STRLEN; + apr_size_t length = STRLEN; apr_status_t rv = apr_socket_recv(sock, datarecv, &length); apr_socket_close(sock); @@ -67,7 +67,7 @@ int main(int argc, char *argv[]) exit(length); } else if (!strcmp("write", argv[1])) { - int length = strlen(DATASTR); + apr_size_t length = strlen(DATASTR); apr_socket_send(sock, DATASTR, &length); apr_socket_close(sock); |