--- mon/src/main.cpp 2000/10/15 15:07:11 1.6 +++ mon/src/main.cpp 2004/02/12 17:18:03 1.10 @@ -1,7 +1,7 @@ /* * main.cpp - Wrapper program for standalone cxmon * - * cxmon (C) 1997-2000 Christian Bauer, Marc Hellwig + * cxmon (C) 1997-2004 Christian Bauer, Marc Hellwig * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -63,14 +63,14 @@ static bool open_stdio(const char *title strcat(term_path, "/Terminal"); // Load "Terminal" - char *t_argv[6]; + const char *t_argv[6]; t_argv[0] = term_path; t_argv[1] = "-t"; t_argv[2] = (char *)title; t_argv[3] = "/bin/debug_glue"; t_argv[4] = key_name; t_argv[5] = sem_id_str; - thread_id th = load_image(6, t_argv, environ); + thread_id th = load_image(6, t_argv, (const char **)environ); if (th < 0) { delete_sem(glue_sem); return false;