Index: trunk/src/search.c =================================================================== --- trunk/src/search.c (revision 3088) +++ trunk/src/search.c (revision 3089) @@ -1306,7 +1306,7 @@ * searches for an element by its board name. * The function returns a pointer to the element, NULL if not found */ -ElementTypePtr SearchElementByName(DataTypePtr Base, char *Name) +ElementTypePtr SearchElementByName(DataTypePtr Base, const char *Name) { ElementTypePtr result = NULL; Index: trunk/src/search.h =================================================================== --- trunk/src/search.h (revision 3088) +++ trunk/src/search.h (revision 3089) @@ -157,6 +157,6 @@ int SearchScreen(Coord, Coord, int, void **, void **, void **); int SearchScreenGridSlop(Coord, Coord, int, void **, void **, void **); int SearchObjectByID(DataTypePtr, void **, void **, void **, int, int); -ElementTypePtr SearchElementByName(DataTypePtr, char *); +ElementTypePtr SearchElementByName(DataTypePtr, const char *); #endif