Remove superflous casts.

This commit is contained in:
Markus Armbruster 2006-03-28 19:51:48 +00:00
parent a1ce7db238
commit bd2673a6e4
8 changed files with 8 additions and 8 deletions

View file

@ -102,7 +102,7 @@ path(void)
snxtsct_area(&ns, &absrange);
natp = getnatp(player->cnum);
xyrelrange(natp, &absrange, &relrange);
blankfill((s_char *)mapbuf, &ns.range, 3);
blankfill(mapbuf, &ns.range, 3);
for (; *pp; ++pp) {
i = diridx(*pp);
if (i == DIR_STOP)

View file

@ -101,7 +101,7 @@ rout(void)
natp = getnatp(player->cnum);
xyrelrange(natp, &ns.range, &relrange);
memset(mapbuf, 0, ((WORLD_Y * MAPWIDTH(3))));
blankfill((s_char *)mapbuf, &ns.range, 3);
blankfill(mapbuf, &ns.range, 3);
border(&relrange, " ", " ");
while (nxtsct(&ns, &sect)) {

View file

@ -89,7 +89,7 @@ sct(void)
ns.ncond = 0;
xyrelrange(getnatp(player->cnum), &ns.range, &range);
border(&range, " ", "");
blankfill((s_char *)mapbuf, &ns.range, 1);
blankfill(mapbuf, &ns.range, 1);
while (nxtsct(&ns, &sect)) {
if (!player->owner)
continue;

View file

@ -109,7 +109,7 @@ surv(void)
np = getnatp(player->cnum);
xyrelrange(np, &nstr.range, &range);
border(&range, " ", "");
blankfill((s_char *)mapbuf, &nstr.range, 1);
blankfill(mapbuf, &nstr.range, 1);
while (nxtsct(&nstr, &sect)) {
if (!player->owner)
continue;

View file

@ -64,7 +64,7 @@ wing(void)
if (!snxtitem(&nstr, EF_PLANE, player->argp[2]))
return RET_SYN;
count = 0;
while (nxtitem(&nstr, (s_char *)&plane)) {
while (nxtitem(&nstr, &plane)) {
if (plane.pln_own != player->cnum)
continue;
if (plane.pln_wing == c)