Index: trunk/src/buffer.c =================================================================== --- trunk/src/buffer.c (revision 1018) +++ trunk/src/buffer.c (revision 1019) @@ -490,7 +490,7 @@ * if successful, update some other stuff and reposition the pastebuffer */ bool -LoadElementToBuffer (BufferTypePtr Buffer, char *Name) +LoadElementToBuffer (BufferTypePtr Buffer, const char *Name) { ElementTypePtr element; Index: trunk/src/buffer.h =================================================================== --- trunk/src/buffer.h (revision 1018) +++ trunk/src/buffer.h (revision 1019) @@ -39,7 +39,7 @@ void SetBufferBoundingBox (BufferTypePtr); void ClearBuffer (BufferTypePtr); void AddSelectedToBuffer (BufferTypePtr, Coord, Coord, bool); -bool LoadElementToBuffer (BufferTypePtr, char *); +bool LoadElementToBuffer (BufferTypePtr, const char *); bool ConvertBufferToElement (BufferTypePtr); bool SmashBufferElement (BufferTypePtr); bool LoadLayoutToBuffer (BufferTypePtr, char *); Index: trunk/src/parse_l.c =================================================================== --- trunk/src/parse_l.c (revision 1018) +++ trunk/src/parse_l.c (revision 1019) @@ -2427,7 +2427,7 @@ /* --------------------------------------------------------------------------- * initializes LEX and calls parser for a single element file */ -int ParseElement(DataTypePtr Ptr, char *name) +int ParseElement(DataTypePtr Ptr, const char *name) { FILE *f; int ret; Index: trunk/src/parse_l.h =================================================================== --- trunk/src/parse_l.h (revision 1018) +++ trunk/src/parse_l.h (revision 1019) @@ -34,7 +34,7 @@ #include "global.h" int ParsePCB (PCBTypePtr, char *); -int ParseElement (DataTypePtr, char *); +int ParseElement (DataTypePtr, const char *); int ParseFont (FontTypePtr, char *); #endif Index: trunk/src/parse_l.l =================================================================== --- trunk/src/parse_l.l (revision 1018) +++ trunk/src/parse_l.l (revision 1019) @@ -308,7 +308,7 @@ /* --------------------------------------------------------------------------- * initializes LEX and calls parser for a single element file */ -int ParseElement(DataTypePtr Ptr, char *name) +int ParseElement(DataTypePtr Ptr, const char *name) { FILE *f; int ret;