[Spice-devel] [PATCH v6 01/26] server: Remove an unnecessary cast in encode_frame()

Francois Gouget fgouget at codeweavers.com
Fri Oct 30 04:13:11 PDT 2015


On Wed, 21 Oct 2015, Christophe Fergeau wrote:

> ACK.
> 
> On Wed, Oct 14, 2015 at 05:30:35PM +0200, Francois Gouget wrote:
> > Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
> > ---
> >  server/red_worker.c | 3 +--
> >  1 file changed, 1 insertion(+), 2 deletions(-)
> > 
> > diff --git a/server/red_worker.c b/server/red_worker.c
> > index babb597..616be72 100644
> > --- a/server/red_worker.c
> > +++ b/server/red_worker.c
> > @@ -8512,8 +8512,7 @@ static int encode_frame(DisplayChannelClient *dcc, const SpiceRect *src,
> >      const unsigned int stream_width = src->right - src->left;
> >  
> >      for (i = 0; i < stream_height; i++) {
> > -        uint8_t *src_line =
> > -            (uint8_t *)red_get_image_line(chunks, &offset, &chunk, image_stride);
> > +        uint8_t *src_line = red_get_image_line(chunks, &offset, &chunk, image_stride);
> >  
> >          if (!src_line) {
> >              return FALSE;
> > -- 
> > 2.6.1

Is anything blocking this?


-- 
Francois Gouget <fgouget at codeweavers.com>


More information about the Spice-devel mailing list