2 Commits

Author SHA1 Message Date
c4a91ad3ac bump version 2026-03-09 17:36:29 +01:00
6863990336 fix bit count ! 2026-03-09 17:35:41 +01:00
2 changed files with 3 additions and 3 deletions

View File

@@ -56,7 +56,7 @@ static inline unsigned char
count_bit32(const uint32_t ulVal)
{
unsigned char cpt = 0;
for(uint32_t idxBit = 0x8000000u; idxBit != 0; idxBit >>= 1)
for(uint32_t idxBit = 0x80000000u; idxBit != 0; idxBit >>= 1)
if(ulVal & idxBit)
cpt++;
return cpt;

View File

@@ -2,8 +2,8 @@
#define _DEF_V2MEMTEST_H_
#define V2MEMTEST__VERSION__MAJOR 0
#define V2MEMTEST__VERSION__MINOR 1
#define V2MEMTEST__VERSION__PATCH 0
#define V2MEMTEST__VERSION__MINOR 2
#define V2MEMTEST__VERSION__PATCH 1
#include <stdbool.h>
#include <stdlib.h>