Commits

Anonymous committed 66d1b02

ziplist.c endianess fixes, chapter 5.

  • Participants
  • Parent commits cab1105

Comments (0)

Files changed (1)

         ret = i16;
     } else if (encoding == ZIP_INT_32B) {
         memcpy(&i32,p,sizeof(i32));
-        memrev16ifbe(&i32);
+        memrev32ifbe(&i32);
         ret = i32;
     } else if (encoding == ZIP_INT_64B) {
         memcpy(&i64,p,sizeof(i64));