{
XFILE *ret;
- ret = malloc_p(XFILE);
+ ret = (XFILE *)malloc_p(XFILE);
if (!ret) return NULL;
memset(ret, 0, sizeof(XFILE));
return NULL;
}
- ret = malloc_p(XFILE);
+ ret = (XFILE *)malloc_p(XFILE);
if (!ret) {
close(fd);
return NULL;
int *count, struct berval **cookie)
{
int rc, i, version;
- char *utf8_expr, *utf8_path, **search_attrs;
+ char *utf8_expr, *utf8_path, **search_attrs = NULL;
size_t converted_size;
LDAPControl PagedResults, NoReferrals, ExternalCtrl, *controls[4], **rcontrols;
BerElement *cookie_be = NULL;