aesni: declare cpuinfo as int
Change the type of array that stores the cpuinfo data to int[4] to match the signature of `__cpuinfo` in `intrin.h` header file. Signed-off-by: Pengyu Lv <pengyu.lv@arm.com>
This commit is contained in:
parent
308cb232bf
commit
e8c4bf180b
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ int mbedtls_aesni_has_support(unsigned int what)
|
|||
|
||||
if (!done) {
|
||||
#if MBEDTLS_AESNI_HAVE_CODE == 2
|
||||
static unsigned info[4] = { 0, 0, 0, 0 };
|
||||
static int info[4] = { 0, 0, 0, 0 };
|
||||
#if defined(_WIN32)
|
||||
__cpuid(info, 1);
|
||||
#else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue