~ubuntu-branches/ubuntu/hardy/apache2/hardy-proposed

« back to all changes in this revision

Viewing changes to srclib/apr/network_io/unix/inet_pton.c

  • Committer: Bazaar Package Importer
  • Author(s): Stefan Fritsch
  • Date: 2008-01-17 20:27:56 UTC
  • mto: This revision was merged to the branch mainline in revision 26.
  • Revision ID: james.westby@ubuntu.com-20080117202756-hv38rjknhwa2ilwi
Tags: upstream-2.2.8
ImportĀ upstreamĀ versionĀ 2.2.8

Show diffs side-by-side

added added

removed removed

Lines of Context:
223
223
                 * Since some memmove()'s erroneously fail to handle
224
224
                 * overlapping regions, we'll do the shift by hand.
225
225
                 */
226
 
                const int n = tp - colonp;
227
 
                int i;
 
226
                const apr_ssize_t n = tp - colonp;
 
227
                apr_ssize_t i;
228
228
 
229
229
                for (i = 1; i <= n; i++) {
230
230
                        endp[- i] = colonp[n - i];