[PATCH:xscope 06/24] SaveBytes: drop unnecessary casts in bcopy() call

Mark Kettenis mark.kettenis at xs4all.nl
Sat Sep 1 03:37:16 PDT 2012


> From: Alan Coopersmith <alan.coopersmith at oracle.com>
> Date: Fri, 31 Aug 2012 22:17:48 -0700
> 
> Clears gcc warning from casting a const char * to char *:
> server.c: In function `SaveBytes':
> server.c:203: warning: cast discards qualifiers from pointer target type
> 
> Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>

Reviewed-by: Mark Kettenis <kettenis at openbsd.org>

> ---
>  server.c |    6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 


More information about the xorg-devel mailing list