warnings cleanup (trunk only)

This covers the warning cleanup bits no one objected to.
This commit is contained in:
keni
2008-02-20 00:27:56 +00:00
parent 6dee7dc521
commit 5d24f9ab3a
13 changed files with 91 additions and 91 deletions
+1 -1
View File
@@ -748,7 +748,7 @@ int uid;
for (i = 0; i < playerct; i++) {
if (players[i][0] == '-' && index("pr", players[i][1]) &&
players[i][2] == 0 && i + 1 < playerct) {
char *arg = (char *)players[i + 1];
const char *arg = players[i + 1];
if ((players[i][1] == 'p' &&
str2role(arg) == str2role(t1->plrole)) ||
(players[i][1] == 'r' &&