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 2001/07/25 21:47:50 UTC

cvs commit: apr/network_io/unix inet_ntop.c

wrowe       01/07/25 12:47:50

  Modified:    network_io/unix inet_ntop.c
  Log:
    Another bit of MSVC bogusness.  Has to argue signedness with us, even
    though MIN_SIZE is a const value :(
  
  Revision  Changes    Path
  1.12      +1 -1      apr/network_io/unix/inet_ntop.c
  
  Index: inet_ntop.c
  ===================================================================
  RCS file: /home/cvs/apr/network_io/unix/inet_ntop.c,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- inet_ntop.c	2001/07/24 22:55:28	1.11
  +++ inet_ntop.c	2001/07/25 19:47:50	1.12
  @@ -99,7 +99,7 @@
   static const char *
   inet_ntop4(const unsigned char *src, char *dst, apr_size_t size)
   {
  -	const int MIN_SIZE = 16; /* space for 255.255.255.255\0 */
  +	const apr_size_t MIN_SIZE = 16; /* space for 255.255.255.255\0 */
   	int n = 0;
   	char *next = dst;