mirror of
https://github.com/google/sandboxed-api.git
synced 2024-03-22 13:11:30 +08:00
c2b7cffe78
Different versions of the `elf.h` header define their own integer types. For example, even on LP64 systems, a 64-bit ELF integer types may decay into `unsigned long long` instead of `unsigned long`. This change replaces the various overloads with a single function template that is well-defined for all integral types. PiperOrigin-RevId: 410746713 Change-Id: I4b560f7541802372f01ae3d6f4a56554e51d70c8