Compare commits
2 Commits
0.2.0-alph
...
0.2.1
| Author | SHA1 | Date | |
|---|---|---|---|
| c4a91ad3ac | |||
| 6863990336 |
2
Utils.h
2
Utils.h
@@ -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;
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user