You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by jo...@apache.org on 2010/06/05 23:21:10 UTC
svn commit: r951771 - /apr/apr/trunk/test/testhash.c
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);