mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-29 20:20:43 +00:00
string const correctness
This commit is contained in:
parent
de610ee47b
commit
e7d138e727
1 changed files with 3 additions and 3 deletions
|
@ -76,8 +76,8 @@ static general_funcs_t plugin_info_general_funcs;
|
||||||
//static cd_data_t plugin_info_cd_data;
|
//static cd_data_t plugin_info_cd_data;
|
||||||
static cd_funcs_t plugin_info_cd_funcs;
|
static cd_funcs_t plugin_info_cd_funcs;
|
||||||
|
|
||||||
static char *xmms_cmd = "xmms";
|
static const char *xmms_cmd = "xmms";
|
||||||
static char *xmms_args[] = {"xmms", 0};
|
static const char *xmms_args[] = {"xmms", 0};
|
||||||
// Session number, gets set to 0 in I_XMMS_Init if not set
|
// Session number, gets set to 0 in I_XMMS_Init if not set
|
||||||
static int sessionNo;
|
static int sessionNo;
|
||||||
|
|
||||||
|
@ -147,7 +147,7 @@ I_XMMS_Running (void)
|
||||||
close (i);
|
close (i);
|
||||||
|
|
||||||
// run xmms
|
// run xmms
|
||||||
if (execvp (xmms_cmd, xmms_args)) {
|
if (execvp (xmms_cmd, (char **)xmms_args)) {
|
||||||
// Oh dear, can we even use Sys_DPrinf? We are child so
|
// Oh dear, can we even use Sys_DPrinf? We are child so
|
||||||
// we have access to them? But wouldn't it just try
|
// we have access to them? But wouldn't it just try
|
||||||
// rendering it and screw stuff up? Better not find out.
|
// rendering it and screw stuff up? Better not find out.
|
||||||
|
|
Loading…
Reference in a new issue