]> git.saurik.com Git - redis.git/blobdiff - redis.c
Rearrange redisObject struct to reduce memory usage in 64bit environments (as recomme...
[redis.git] / redis.c
diff --git a/redis.c b/redis.c
index 438f5fda1252b1bc839a183caaf04deb1ce722dc..05a623d56086ae2d2ef7e30d3e9c9fb932b0442d 100644 (file)
--- a/redis.c
+++ b/redis.c
 
 /* A redis object, that is a type able to hold a string / list / set */
 typedef struct redisObject {
-    int type;
     void *ptr;
+    int type;
     int refcount;
 } robj;