diff options
author | wrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68> | 2007-10-14 19:16:18 +0000 |
---|---|---|
committer | wrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68> | 2007-10-14 19:16:18 +0000 |
commit | 57f8f41db1e4f78d7fb21a67845e1a9c0a077b3e (patch) | |
tree | dd752724ac99d4e6b69bc3527a33d59b3ee62b90 /network_io | |
parent | 00a2ad1c698ff614e31197a81e4a3ac01733daf6 (diff) | |
download | libapr-57f8f41db1e4f78d7fb21a67845e1a9c0a077b3e.tar.gz |
Silence an emit for P64 and LP64 platforms, where int can't
represent a pointer delta.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@584584 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'network_io')
-rw-r--r-- | network_io/unix/inet_pton.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/network_io/unix/inet_pton.c b/network_io/unix/inet_pton.c index 22b15390f..d41f74965 100644 --- a/network_io/unix/inet_pton.c +++ b/network_io/unix/inet_pton.c @@ -223,8 +223,8 @@ inet_pton6(const char *src, unsigned char *dst) * Since some memmove()'s erroneously fail to handle * overlapping regions, we'll do the shift by hand. */ - const int n = tp - colonp; - int i; + const apr_ssize_t n = tp - colonp; + apr_ssize_t i; for (i = 1; i <= n; i++) { endp[- i] = colonp[n - i]; |