translated a few long logn into int64_t for correctness and to avoid compilation warnings as well

This commit is contained in:
antirez
2010-08-26 18:11:26 +02:00
parent 588cd980e9
commit 23c64fe50d
3 changed files with 3 additions and 3 deletions

View File

@ -273,7 +273,7 @@ int rdbSaveObject(FILE *fp, robj *o) {
dictReleaseIterator(di);
} else if (o->encoding == REDIS_ENCODING_INTSET) {
intset *is = o->ptr;
long long llval;
int64_t llval;
int i = 0;
if (rdbSaveLen(fp,intsetLen(is)) == -1) return -1;