I committed a similar fix a few minutes ago (r26534).
On Sep 10, 2007, at 11:39 PM, Senthil Kumaran S wrote:
> Hi,
>
> I am attaching a patch for fixing the compiler warning of
> 'incompatible pointer type' along with this mail.
>
> [[[
> Fix compiler warning of 'incompatible pointer type'.
>
> * subversion/libsvn_wc/update_editor.c
> (open_root): Mark the entry pointer as const.
>
> Patch by: Senthil Kumaran <senthil@collab.net>
> ]]]
>
> Thank You.
>
> --
> Senthil Kumaran S
> http://www.stylesen.org/
> Index: subversion/libsvn_wc/update_editor.c
> ===================================================================
> --- subversion/libsvn_wc/update_editor.c (revision 26532)
> +++ subversion/libsvn_wc/update_editor.c (working copy)
> @@ -995,7 +995,8 @@
> {
> /* For an update with a NULL target, this is equivalent to
> open_dir(): */
> svn_wc_adm_access_t *adm_access;
> - svn_wc_entry_t tmp_entry, *entry;
> + const svn_wc_entry_t *entry;
> + svn_wc_entry_t tmp_entry;
> apr_uint64_t flags = SVN_WC__ENTRY_MODIFY_REVISION |
> SVN_WC__ENTRY_MODIFY_URL | SVN_WC__ENTRY_MODIFY_INCOMPLETE;
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Sep 11 11:07:36 2007