mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-23 16:48:27 -05:00
commit
57697373ef
@ -440,7 +440,7 @@ unsigned int zipStorePrevEntryLength(unsigned char *p, unsigned int len) {
|
|||||||
if ((prevlensize) == 1) { \
|
if ((prevlensize) == 1) { \
|
||||||
(prevlen) = (ptr)[0]; \
|
(prevlen) = (ptr)[0]; \
|
||||||
} else if ((prevlensize) == 5) { \
|
} else if ((prevlensize) == 5) { \
|
||||||
assert(sizeof((prevlen)) == 4); \
|
assert(sizeof((prevlen)) == 4); \
|
||||||
memcpy(&(prevlen), ((char*)(ptr)) + 1, 4); \
|
memcpy(&(prevlen), ((char*)(ptr)) + 1, 4); \
|
||||||
memrev32ifbe(&prevlen); \
|
memrev32ifbe(&prevlen); \
|
||||||
} \
|
} \
|
||||||
|
Loading…
Reference in New Issue
Block a user