serf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From astie...@apache.org
Subject svn commit: r1721792 - /serf/trunk/src/config_store.c
Date Sun, 27 Dec 2015 09:57:46 GMT
Author: astieger
Date: Sun Dec 27 09:57:46 2015
New Revision: 1721792

URL: http://svn.apache.org/viewvc?rev=1721792&view=rev
Log:
Follow-up to r1717012, fix warning on incompatible pointer type

* config_store.c
  (cleanup_store): Make key a void pointer

Modified:
    serf/trunk/src/config_store.c

Modified: serf/trunk/src/config_store.c
URL: http://svn.apache.org/viewvc/serf/trunk/src/config_store.c?rev=1721792&r1=1721791&r2=1721792&view=diff
==============================================================================
--- serf/trunk/src/config_store.c (original)
+++ serf/trunk/src/config_store.c Sun Dec 27 09:57:46 2015
@@ -141,7 +141,7 @@ static apr_status_t cleanup_store(void *
          hi;
          hi = apr_hash_next(hi))
       {
-          const char *key;
+          const void *key;
           void *val;
 
           apr_hash_this(hi, &key, NULL, &val);
@@ -155,7 +155,7 @@ static apr_status_t cleanup_store(void *
          hi;
          hi = apr_hash_next(hi))
       {
-          const char *key;
+          const void *key;
           void *val;
 
           apr_hash_this(hi, &key, NULL, &val);



Mime
View raw message