[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[PATCH][merge-tracking] Fix compiler warning

From: Kamesh Jayachandran <kamesh_at_collab.net>
Date: 2007-03-13 13:09:32 CET

Hi All,
Find the attached patch and log.

With regards
Kamesh Jayachandran

[[[
Fix compiler warning.

* subversion/libsvn_client/diff.c
  (find_wc_merge_info):
   Change types of key and val compatible with apr_hash_this signature.

Patch by: kameshj
]]]

Index: subversion/libsvn_client/diff.c
===================================================================
--- subversion/libsvn_client/diff.c (revision 23788)
+++ subversion/libsvn_client/diff.c (working copy)
@@ -1800,7 +1800,8 @@
   apr_hash_t *tmp_mergeinfo = apr_hash_make(pool);
   apr_hash_index_t *hi;
   const char *path;
- void *val, *key;
+ const void *key;
+ void *val;
   apr_array_header_t *ranges;
 
   *inherited = FALSE;

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Mar 13 13:09:58 2007

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.