update to latest bstore, with fix for a bug that was triggered by an upcoming commit

This commit is contained in:
Mechiel Lukkien
2023-11-20 11:01:15 +01:00
parent bdd8fa078e
commit e5f77a0411
5 changed files with 49 additions and 17 deletions

View File

@ -26,11 +26,11 @@ func (p *parser) checkInt(un uint64) int {
}
// Fieldmap starts a new fieldmap for n fields.
func (p *parser) Fieldmap(n int) *fieldmap {
func (p *parser) Fieldmap(n int) fieldmap {
// log.Printf("parse fieldmap %d bits", n)
nb := (n + 7) / 8
buf := p.Take(nb)
return &fieldmap{n, buf, 0, 0, p.Errorf}
return fieldmap{n, buf, 0, 0, p.Errorf}
}
// Take reads nb bytes.