]> git.pond.sub.org Git - empserver/blobdiff - src/lib/commands/pstat.c
Remove a bunch of redundant casts.
[empserver] / src / lib / commands / pstat.c
index 081e56f65a7caa51a8b4e1bf3b5bc4008289dc76..08c32593cf508e7ce90f9575264f5d8149a41e75 100644 (file)
@@ -49,7 +49,7 @@ pstat(void)
     if (!snxtitem(&np, EF_PLANE, player->argp[1]))
        return RET_SYN;
     nplanes = 0;
-    while (nxtitem(&np, (s_char *)&plane)) {
+    while (nxtitem(&np, &plane)) {
        if (!player->owner || plane.pln_own == 0)
            continue;
        if (plane.pln_type < 0 || plane.pln_type > pln_maxno) {