apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
Subject svn commit: r951771 - /apr/apr/trunk/test/testhash.c
Date Sat, 05 Jun 2010 21:21:10 GMT
Author: jorton
Date: Sat Jun  5 21:21:10 2010
New Revision: 951771

URL: http://svn.apache.org/viewvc?rev=951771&view=rev
Log:
* test/testhash.c (dump_hash): Fix compiler warning due to lack of const.

Modified:
    apr/apr/trunk/test/testhash.c

Modified: apr/apr/trunk/test/testhash.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/test/testhash.c?rev=951771&r1=951770&r2=951771&view=diff
==============================================================================
--- apr/apr/trunk/test/testhash.c (original)
+++ apr/apr/trunk/test/testhash.c Sat Jun  5 21:21:10 2010
@@ -35,7 +35,7 @@ static void dump_hash(apr_pool_t *p, apr
     int i = 0;
 
     for (hi = apr_hash_first(p, h); hi; hi = apr_hash_next(hi)) {
-        char *key = apr_hash_this_key(hi);
+        const char *key = apr_hash_this_key(hi);
         apr_ssize_t len = apr_hash_this_key_len(hi);
         char *val = apr_hash_this_val(hi);
 



Mime
View raw message