add cast operator to return of calloc