Fix 'taking address of temporary array' error.