Skip to content

Commit

Permalink
Fix the coding style
Browse files Browse the repository at this point in the history
Change-Id: I02e8a52935376b4ecc700cd17edaeb871b2bd487
  • Loading branch information
guyuqi committed Nov 29, 2018
1 parent b13ee1f commit 011f057
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions cpp/src/arrow/util/armce-util.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,8 @@ namespace arrow {
#ifndef HWCAP_CRC32
#define HWCAP_CRC32 (1 << 7)
#endif
static inline uint32_t crc32c_runtime_check(void)
{
unsigned long auxv = getauxval(AT_HWCAP);
static inline uint32_t crc32c_runtime_check(void) {
uint64_t auxv = getauxval(AT_HWCAP);
return (auxv & HWCAP_CRC32) != 0;
}

Expand Down

0 comments on commit 011f057

Please sign in to comment.