Fix type that was not renamed and compiler warning

This commit is contained in:
Pieter Noordhuis
2010-08-26 12:13:51 +02:00
parent 674492bceb
commit 740eee1cc6
2 changed files with 2 additions and 2 deletions

View File

@ -81,7 +81,7 @@ int setTypeIsMember(robj *subject, robj *value) {
}
setTypeIterator *setTypeInitIterator(robj *subject) {
setTypeIterator *si = zmalloc(sizeof(setIterator));
setTypeIterator *si = zmalloc(sizeof(setTypeIterator));
si->subject = subject;
si->encoding = subject->encoding;
if (si->encoding == REDIS_ENCODING_HT) {