1
0
mirror of https://github.com/asamy/ctorrent synced 2025-10-05 23:52:41 +02:00

util/serializer: fix

This commit is contained in:
Ahmed Samy
2017-09-02 09:11:13 +02:00
parent a356ab08f4
commit f8010aa961

View File

@@ -56,7 +56,7 @@ inline uint64_t readBE64(const uint8_t *addr)
inline void writeBE16(uint8_t *addr, uint16_t value)
{
addr[0] = (uint8_t)value >> 8;
addr[0] = value >> 8;
addr[1] = (uint8_t)value;
}