Compilation fixed on Linux after the source code split

This commit is contained in:
antirez
2010-07-01 21:13:38 +02:00
parent d3b958c3fc
commit 3688d7f308
6 changed files with 17 additions and 4 deletions

View File

@ -551,7 +551,7 @@ void ziplistRepr(unsigned char *zl) {
if (entry.encoding == ZIP_ENC_RAW) {
fwrite(p,entry.len,1,stdout);
} else {
printf("%lld", zipLoadInteger(p,entry.encoding));
printf("%lld", (long long) zipLoadInteger(p,entry.encoding));
}
printf("\n");
p += entry.len;