> Am 19.08.2015 um 16:37 schrieb William A Rowe Jr <[email protected]>:
>  h2_alt_svc *h2_alt_svc_parse(const char *s, apr_pool_t *pool) {
> -    const char *sep = strchr(s, '=');
> +    const char *sep = strchr((char *)s, '=');
> 
> 
> We solve these issues with ap_strchr_c, ap_strrchr_c, ap_strstr_c etc.  This 
> avoids the casts, which are always worth avoiding for other analysis tools 
> and inadvertent overwriting.

I live to learn. Changed in r1696607.

<green/>bytes GmbH
Hafenweg 16, 48155 Münster, Germany
Phone: +49 251 2807760. Amtsgericht Münster: HRB5782



Reply via email to