Closed sryze closed 5 years ago
Thanks for the PR. The fields are all unsigned. Would you agree it's more appropriate to cast to uint32_t and uint16_t?
Yes, I agree, I missed that somehow. Updated the commit.
Thanks Sergey, merged in 73f4442 and released in v2.9.0.
This PR fixes a bunch of warnings in Visual Studio 64-bit builds:
__int64
toint32_t
inCOUNT_HEADER_SIZE
__int64
toint16_t
when assigning the difference of 2 pointers to theoff
field(as of commit 350258965909f249f9c59823aac240313e0d0120)