lrzip icon indicating copy to clipboard operation
lrzip copied to clipboard

fix: use pointer instead of long, which won't work on Windows

Open eat-swap opened this issue 2 years ago • 1 comments

Using sizeof(long) == 4 to tell whether a platform is 32-bit or not is not reliable since LLP64 platforms exists (and specifically, Win64 API, refernece here). This causes problems while trying to port lrzip to such platfroms.

eat-swap avatar Nov 17 '22 06:11 eat-swap

wouldn't be sizeof(size_t) == 4 be more appropriate?

anon767 avatar Jan 16 '23 12:01 anon767