Change 'name' argument of find_fixed_array_item() to const char *

This commit is contained in:
Kevin Easton
2016-10-15 00:17:31 +11:00
parent a7f2462395
commit dec7caafd0
3 changed files with 3 additions and 3 deletions

View File

@@ -351,7 +351,7 @@ Array_item *BX_find_array_item (Array *set, char *name, int *cnt, int *loc)
* This code is identical to find_array_item except ``list'' is a 1st
* level array instead of a 2nd level array.
*/
void * BX_find_fixed_array_item (void *list, size_t size, int howmany, char *name, int *cnt, int *loc)
void * BX_find_fixed_array_item (void *list, size_t size, int howmany, const char *name, int *cnt, int *loc)
{
int len = strlen(name),
min = 0,