X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/mLib/blobdiff_plain/392988122bc643169c1077d76b59c3daa4dbdf00..d23763dae4f649cc29a923298e0232ffdf608744:/struct/sym.c diff --git a/struct/sym.c b/struct/sym.c index 25e297a..4eca891 100644 --- a/struct/sym.c +++ b/struct/sym.c @@ -179,7 +179,7 @@ void *sym_find(sym_table *t, const char *n, long l, size_t sz, unsigned *f) if (t->load) t->load--; if (!t->load && hash_extend(&t->t)) - t->load = SYM_LIMIT(t->t.mask + 1); + t->load = SYM_LIMIT(t->t.mask/2 + 1); /* --- Finished that, so return the new symbol block --- */