diff options
Diffstat (limited to 'payloads')
-rw-r--r-- | payloads/libpayload/include/x86/arch/io.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/payloads/libpayload/include/x86/arch/io.h b/payloads/libpayload/include/x86/arch/io.h index d15e15d543..352affd2bf 100644 --- a/payloads/libpayload/include/x86/arch/io.h +++ b/payloads/libpayload/include/x86/arch/io.h @@ -90,7 +90,7 @@ static inline __attribute__((always_inline)) void write64(volatile void *addr, u static inline unsigned int inl(int port) { - unsigned long val; + unsigned int val; __asm__ __volatile__("inl %w1, %0" : "=a"(val) : "Nd"(port)); return val; } |