apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Garrett Rooney <roo...@electricjellyfish.net>
Subject Re: [PATCH] fix warnings in test/sockchild.c
Date Mon, 15 Mar 2004 02:24:58 GMT

On Mar 14, 2004, at 9:15 PM, rbb@rkbloom.net wrote:

>
> applied and committed.
>
> Thanks, and keep 'em coming.

Sure thing.  Here's two more in testsock.c ;-)

-garrett

Index: test/testsock.c
===================================================================
RCS file: /home/cvspublic/apr/test/testsock.c,v
retrieving revision 1.29
diff -u -r1.29 testsock.c
--- test/testsock.c     15 Mar 2004 02:06:51 -0000      1.29
+++ test/testsock.c     15 Mar 2004 02:24:09 -0000
@@ -108,7 +108,7 @@
      apr_socket_t *sock2;
      apr_proc_t proc;
      int protocol;
-    int length;
+    apr_size_t length;

      sock = setup_socket(tc);

@@ -139,7 +139,7 @@
      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);


Mime
View raw message