fix a typo when builtin_popcount is not being used

This commit is contained in:
Greg Landrum
2016-01-04 04:44:48 +01:00
parent a6f2aba9b5
commit 16dc0cdc27

View File

@@ -806,7 +806,7 @@ unsigned int CalcBitmapPopcount(const unsigned char* afp, unsigned int nBytes) {
unsigned int popcount = 0;
#ifndef USE_BUILTIN_POPCOUNT
for (unsigned int i = 0; i < nBytes; i++) {
popcount += byte_popcounts[afp[i]]
popcount += byte_popcounts[afp[i]];
}
#else
unsigned int eidx = nBytes / sizeof(unsigned int);