Acked-by: Christophe Fergeau <cfergeau@xxxxxxxxxx> On Mon, May 16, 2016 at 05:13:29PM +0100, Frediano Ziglio wrote: > Signed-off-by: Frediano Ziglio <fziglio@xxxxxxxxxx> > --- > server/reds.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/server/reds.c b/server/reds.c > index 9898fe5..1909e6e 100644 > --- a/server/reds.c > +++ b/server/reds.c > @@ -442,7 +442,7 @@ uint64_t *stat_add_counter(RedsState *reds, StatNodeRef parent, const char *name > > void stat_remove_counter(RedsState *reds, uint64_t *counter) > { > - reds_stat_remove(reds, (SpiceStatNode *)(counter - offsetof(SpiceStatNode, value))); > + reds_stat_remove(reds, (SpiceStatNode *)(counter - SPICE_OFFSETOF(SpiceStatNode, value))); > } > > void stat_update_value(RedsState *reds, uint32_t value) > -- > 2.7.4 > > _______________________________________________ > 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