]> git.pond.sub.org Git - empserver/blobdiff - src/lib/commands/payo.c
Remove a bunch of redundant casts.
[empserver] / src / lib / commands / payo.c
index 37c54adf2106177cdc81f14508d5c129daf8f3d5..b73a16b3325fb183fee971f41ffbda3dce9153b5 100644 (file)
@@ -61,7 +61,7 @@ payo(void)
        return RET_SYN;
 
     nships = 0;
-    while (nxtitem(&ni, (s_char *)&ship)) {
+    while (nxtitem(&ni, &ship)) {
        if (!player->owner || ship.shp_own == 0)
            continue;
        if (ship.shp_type < 0 || ship.shp_type > shp_maxno) {