remove some (int) casts

This commit is contained in:
Bill Currie 2001-10-12 23:14:59 +00:00
parent e97e06fe44
commit 2dafd4a496
4 changed files with 8 additions and 8 deletions

View file

@ -325,12 +325,12 @@ I_CD_f (void)
}
if (strequal (command, "play")) {
CDAudio_Play ((int) atoi (Cmd_Argv (2)), false);
CDAudio_Play (atoi (Cmd_Argv (2)), false);
return;
}
if (strequal (command, "loop")) {
CDAudio_Play ((int) atoi (Cmd_Argv (2)), true);
CDAudio_Play (atoi (Cmd_Argv (2)), true);
return;
}

View file

@ -268,12 +268,12 @@ pCD_f (void)
}
if (strequal (command, "play")) {
CDAudio_Play ((int) atoi (Cmd_Argv (2)), false);
CDAudio_Play (atoi (Cmd_Argv (2)), false);
return;
}
if (strequal (command, "loop")) {
CDAudio_Play ((int) atoi (Cmd_Argv (2)), true);
CDAudio_Play (atoi (Cmd_Argv (2)), true);
return;
}

View file

@ -405,12 +405,12 @@ I_CD_f (void)
}
if (strequal (command, "play")) {
I_CDAudio_Play ((int) atoi (Cmd_Argv (2)), false);
I_CDAudio_Play (atoi (Cmd_Argv (2)), false);
return;
}
if (strequal (command, "loop")) {
I_CDAudio_Play ((int) atoi (Cmd_Argv (2)), true);
I_CDAudio_Play (atoi (Cmd_Argv (2)), true);
return;
}

View file

@ -422,7 +422,7 @@ I_XMMS_f (void)
command = Cmd_Argv (1);
if (strequal (command, "play")) {
I_XMMS_Play (((int) atoi (Cmd_Argv (2)) -1), 0);
I_XMMS_Play ((atoi (Cmd_Argv (2)) -1), 0);
return;
}
@ -472,7 +472,7 @@ I_XMMS_f (void)
}
if (strequal (command, "pos")) {
I_XMMS_Pos (((int) atoi (Cmd_Argv (2)) -1 ));
I_XMMS_Pos (atoi (Cmd_Argv (2)) - 1);
return;
}