stef...@apache.org writes:

> Author: stefan2
> Date: Thu Jun  2 12:24:36 2011
> New Revision: 1130512

> +   * member in svn_stringbuf_t, any attempt to re-size the returned
> +   * svn_string_t might invalidate the STRBUF struct. Hence, we consider
> +   * the source STRBUF "consumed".
> +   *
>     * Modifying the string character content is fine, though.
>     */
>    return (const svn_string_t *)&strbuf->data;

Why the 'const' in the cast?  It causes a gcc warning about discarding
qualifiers.

-- 
Philip

Reply via email to