apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r368550 - /apr/apr/trunk/random/unix/apr_random.c
Date Fri, 13 Jan 2006 01:53:21 GMT
Author: wrowe
Date: Thu Jan 12 17:53:19 2006
New Revision: 368550

URL: http://svn.apache.org/viewcvs?rev=368550&view=rev
Log:

  These working sizes are never negative, always mem mapping sized.

Modified:
    apr/apr/trunk/random/unix/apr_random.c

Modified: apr/apr/trunk/random/unix/apr_random.c
URL: http://svn.apache.org/viewcvs/apr/apr/trunk/random/unix/apr_random.c?rev=368550&r1=368549&r2=368550&view=diff
==============================================================================
--- apr/apr/trunk/random/unix/apr_random.c (original)
+++ apr/apr/trunk/random/unix/apr_random.c Thu Jan 12 17:53:19 2006
@@ -219,7 +219,7 @@
         p->pool[p->bytes++] = entropy[n];
 
         if (p->bytes == g->rehash_size) {
-            unsigned int r;
+            apr_size_t r;
 
             for (r = 0; r < p->bytes/2; r+=g->pool_hash->size)
                 hash(g->pool_hash,p->pool+r,p->pool+r*2,g->pool_hash->size*2);
@@ -246,7 +246,7 @@
     apr_size_t n;
 
     for (n = 0; n < bytes; ) {
-        int l;
+        apr_size_t l;
 
         if (g->random_bytes == 0) {
             apr_random_block(g,g->randomness);



Mime
View raw message