From a8648e0cc18e81a74efbfdc9fd9dd9deb01e2257 Mon Sep 17 00:00:00 2001 From: Patrick Pelissier Date: Thu, 25 Jun 2020 23:49:28 +0200 Subject: [PATCH] Fix variable name for conditional code --- m-core.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/m-core.h b/m-core.h index dd7a7570..31500204 100644 --- a/m-core.h +++ b/m-core.h @@ -1861,7 +1861,7 @@ static inline unsigned int m_core_clz64(uint64_t limb) static inline unsigned int m_core_clz32(uint32_t limb) { unsigned long bit = 0; - if (_BitScanReverse( &bit_zero, limb ) != 0) { + if (_BitScanReverse( &bit, limb ) != 0) { return 31 - bit; } else { return 32; @@ -1870,7 +1870,7 @@ static inline unsigned int m_core_clz32(uint32_t limb) static inline unsigned int m_core_clz64(uint64_t limb) { unsigned long bit = 0; - if (_BitScanReverse64( &bit_zero, limb ) != 0) { + if (_BitScanReverse64( &bit, limb ) != 0) { return 63 - bit; } else { return 64;