rem: term_array = malloc(num_parts * sizeof(size_t));
add: term_array = (size_t *)malloc(num_parts * sizeof(size_t));
context: compose_driver_names(device_node_info *node, const char *dir,	const char *filename_pattern, int num_parts, 	char *path, char *buffer, size_t **res_term_array){	size_t *term_array;	int id;	status_t res;	term_array = malloc(num_parts * sizeof(size_t));	if (term_array == NULL)		return B_NO_MEMORY;	strlcpy(path, dir, PATH_MAX);	strlcat(path, "/", PATH_MAX);	TRACE(("compose_drive_names(%s)\n", path));	benaphore_lock(&gNodeLock);	res = pnp_expand_pattern(node, filename_pattern, path, buffer, 		term_array, &id);	benaphore_unlock(&gNodeLock);	if (res != B_OK)		goto err;	if (id != num_parts) {		panic("compose_driver_names: number of pattern parts in %s is inconsistent (%d!=%d)",			filename_pattern, num_parts, id);	}	TRACE(("driver=%s, parts=%d\n", buffer, id));	*res_term_array	= term_array;	return B_OK;err:	free(term_array);	return res;}