diff --git a/tinyldap.c b/tinyldap.c index 8393147..e5e6694 100644 --- a/tinyldap.c +++ b/tinyldap.c @@ -882,8 +882,10 @@ static int useindex(struct Filter* f,struct bitfield* b) { case EQUAL: { uint32 ofs; + // record_count is in uint32, so x4 */ for (ofs=indices_offset+record_count*4; ofs