(SEGMENT *)calloc(hashp->DSIZE, sizeof(SEGMENT *))) == NULL) {
(SEGMENT *)calloc((size_t)hashp->DSIZE, sizeof(SEGMENT *))) == NULL) {
alloc_segs(	HTAB *hashp,	int nsegs){	register int i;	register SEGMENT store;	int save_errno;	if ((hashp->dir =	    (SEGMENT *)calloc(hashp->DSIZE, sizeof(SEGMENT *))) == NULL) {		save_errno = errno;		(void)hdestroy(hashp);		errno = save_errno;		return (-1);	}	/* Allocate segments */	if ((store =	    (SEGMENT)calloc(nsegs << hashp->SSHIFT, sizeof(SEGMENT))) == NULL) {		save_errno = errno;		(void)hdestroy(hashp);		errno = save_errno;		return (-1);	}	for (i = 0; i < nsegs; i++, hashp->nsegs++)		hashp->dir[i] = &store[i << hashp->SSHIFT];	return (0);}