Acked-by: Christophe Fergeau <cfergeau@xxxxxxxxxx> On Wed, Jun 20, 2018 at 02:31:41PM +0100, Frediano Ziglio wrote: > Used only in this file. > Not defined in MingW. > > Signed-off-by: Frediano Ziglio <fziglio@xxxxxxxxxx> > --- > server/display-channel.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/server/display-channel.c b/server/display-channel.c > index 5f2e866f..b5e4b61d 100644 > --- a/server/display-channel.c > +++ b/server/display-channel.c > @@ -1627,7 +1627,7 @@ static Drawable *display_channel_drawable_try_new(DisplayChannel *display, > return NULL; > } > > - bzero(drawable, sizeof(Drawable)); > + memset(drawable, 0, sizeof(Drawable)); > /* Pointer to the display from which the drawable is allocated. This > * pointer is safe to be retained as DisplayChannel lifespan is bigger than > * all drawables. */ > -- > 2.17.1 > > _______________________________________________ > Spice-devel mailing list > Spice-devel@xxxxxxxxxxxxxxxxxxxxx > https://lists.freedesktop.org/mailman/listinfo/spice-devel
Attachment:
signature.asc
Description: PGP signature
_______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel