From fe7be460257627848987d7bf6d80ce8540b01628 Mon Sep 17 00:00:00 2001 From: antirez Date: Tue, 21 Feb 2012 10:06:04 +0100 Subject: [PATCH] bzero -> memset --- src/t_zset.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/t_zset.c b/src/t_zset.c index d2535c72..b8ad2fc6 100644 --- a/src/t_zset.c +++ b/src/t_zset.c @@ -1254,7 +1254,7 @@ int zuiNext(zsetopsrc *op, zsetopval *val) { if (val->flags & OPVAL_DIRTY_ROBJ) decrRefCount(val->ele); - bzero(val,sizeof(zsetopval)); + memset(val,0,sizeof(zsetopval)); if (op->type == REDIS_SET) { iterset *it = &op->iter.set; -- 2.45.2