Make xz_crc64.c compatible with -std=gnu89 on 32-bit platforms.

When "unsigned long" is 32 bits and GCC or Clang is in gnu89 mode,
the 64-bit constant doesn't become "unsigned long long" like it
would in C99. This is because in gnu89 mode "unsigned long long"
is a GNU extension to C89 and isn't considered when selecting the
type of the integer constant.

The CRC64 support was added in 2013 and the code has been broken
on 32-bit platforms unless one modified the Makefile to set C99
or a newer C standard. I didn't want to omit -std=gnu89 because
Linux still uses it and xz_crc64.c (which isn't in Linux) was
the only place that wasn't compatible with -std=gnu89.

Thanks to bzt for reporting the problem.
1 file changed
tree: dcbe581efd708a0322b9e675c21c31a0e2772d67
  1. linux/
  2. userspace/
  3. .gitignore
  4. COPYING
  5. README