License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
#include <string.h>
static void path_push(text_t text)
{
obstack_grow0(&obst, text.str, text.len);
- path_stack[path_sp++] = obstack_finish(&obst);
+ path_stack[path_sp++] = (const char*)obstack_finish(&obst);
}
static void path_free(void)
static void lc_opt_set(void)
{
- char *str = obstack_finish(&obst);
+ char *str = (char*)obstack_finish(&obst);
lc_opt_err_info_t err;
lc_opt_entry_t *opt = lc_opt_resolve_opt(CURR_GRP, path_stack, path_sp, &err);