Hi,

I'm receiving the following error upon compiling my program. Can anyone point me in the right direction to get the strcmp to work?

Function argument assignment between types "const char*" and "char**" is not allowed.

Code:
typedef struct
	{
		char *aname[MAX_LEN]; */
	} name;

int	low(name *list, size_t first, size_t last)
{
	int	i, n, j;
	int 	min;

	for (i = 0; i < last; i++) 
	{
		min = i;
		for (j = i + 1; j < last ; j++) 
		{
		if (strcmp(list[j].aname, list[min].aname) < 0) 
			{
			min = j;
			}
		}
	}
	return min;
}