Added missing const to items parameter for cc_array_alloc().