1
0
mirror of https://github.com/google/cpu_features.git synced 2025-07-01 05:11:15 +02:00

hwcaps: Change uint32_t to unsigned long

getauxval() returns an unsigned long which can be defined to be
more than 32 bits so don't force the result into a uint32_t.

Signed-off-by: Rashmica Gupta <rashmica.gupta@au1.ibm.com>
This commit is contained in:
Rashmica Gupta
2018-04-27 11:53:51 +10:00
committed by Rashmica Gupta
parent 3adafbfe66
commit 1c8bf0ecd8
2 changed files with 5 additions and 5 deletions

View File

@ -113,8 +113,8 @@ CPU_FEATURES_START_CPP_NAMESPACE
#endif
typedef struct {
uint32_t hwcaps;
uint32_t hwcaps2;
unsigned long hwcaps;
unsigned long hwcaps2;
} HardwareCapabilities;
HardwareCapabilities CpuFeatures_GetHardwareCapabilities(void);