]> git.saurik.com Git - redis.git/blobdiff - src/object.c
dict.c: added macros in dict.h to set signed and unsigned 64 bit values directly...
[redis.git] / src / object.c
index 23462a5b595835b0f0fe45bcee14251aa7a3aacf..fd7786ed6e463a8ec6b1e225857b166a4f307244 100644 (file)
@@ -465,7 +465,7 @@ robj *objectCommandLookup(redisClient *c, robj *key) {
     dictEntry *de;
 
     if ((de = dictFind(c->db->dict,key->ptr)) == NULL) return NULL;
-    return (robj*) dictGetEntryVal(de);
+    return (robj*) dictGetVal(de);
 }
 
 robj *objectCommandLookupOrReply(redisClient *c, robj *key, robj *reply) {