# | Line 158 | Line 158 | register struct ohtab *tab; | |
---|---|---|
158 | hval = shash(name); | |
159 | tryagain: | |
160 | for (i = 0; i < tab->hsiz; i++) { | |
161 | < | ndx = (hval + i*i) % tab->hsiz; |
161 | > | ndx = (hval + (unsigned long)i*i) % tab->hsiz; |
162 | if (tab->htab[ndx] == OVOID || | |
163 | !strcmp(objptr(tab->htab[ndx])->oname, name)) | |
164 | return(ndx); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |