This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new 1af831e139 arch/x86_64: cpuid expect 32 bit variables
1af831e139 is described below

commit 1af831e139b01638846ff371b86036352f8ea7b6
Author: liwenxiang1 <[email protected]>
AuthorDate: Thu Oct 10 11:08:43 2024 +0800

    arch/x86_64: cpuid expect 32 bit variables
    
    Signed-off-by: liwenxiang1 <[email protected]>
---
 arch/x86_64/src/intel64/intel64_check_capability.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/x86_64/src/intel64/intel64_check_capability.c 
b/arch/x86_64/src/intel64/intel64_check_capability.c
index 1e73773efa..1385cb33a7 100644
--- a/arch/x86_64/src/intel64/intel64_check_capability.c
+++ b/arch/x86_64/src/intel64/intel64_check_capability.c
@@ -56,9 +56,9 @@
 
 void x86_64_check_and_enable_capability(void)
 {
-  unsigned long ebx;
-  unsigned long ecx;
-  unsigned long require = 0;
+  uint32_t ebx;
+  uint32_t ecx;
+  uint32_t require = 0;
 
   /* Check SSE3 instructions availability */
 

Reply via email to