]> git.pond.sub.org Git - empserver/commitdiff
Get rid of "s_char". No functional changes.
authorMarc Olzheim <marcolz@stack.nl>
Tue, 15 Mar 2005 18:59:24 +0000 (18:59 +0000)
committerMarc Olzheim <marcolz@stack.nl>
Tue, 15 Mar 2005 18:59:24 +0000 (18:59 +0000)
src/lib/update/nav_ship.c

index 99a490b945940cdaa2a0e1c440dff865eac8877d..cee60cbd57b06ee1cece772091405e134a5851d2 100644 (file)
@@ -234,12 +234,12 @@ int
 nav_ship(struct shpstr *sp)
 {
     struct sctstr *sectp;
-    s_char *cp;
+    char *cp;
     int stopping;
     int quit;
     int didsomething = 0;
     int max_amt, food_amt;
-    s_char buf[1024];
+    char buf[1024];
     struct emp_qelem ship_list;
     struct emp_qelem *qp, *newqp;
     struct mlist *mlp;
@@ -288,14 +288,14 @@ nav_ship(struct shpstr *sp)
                wu(0, cnum,
                   "%s bad path, ship put on standby\n", prship(sp));
                sp->shp_autonav |= AN_STANDBY;
-               putship(sp->shp_uid, (s_char *)sp);
+               putship(sp->shp_uid, sp);
 
                /* We need to free the ship list */
                qp = ship_list.q_forw;
                while (qp != &(ship_list)) {
                    newqp = qp->q_forw;
                    emp_remque(qp);
-                   free((s_char *)qp);
+                   free(qp);
                    qp = newqp;
                }
                return RET_SYN;
@@ -344,7 +344,7 @@ nav_ship(struct shpstr *sp)
     while (qp != &(ship_list)) {
        newqp = qp->q_forw;
        emp_remque(qp);
-       free((s_char *)qp);
+       free(qp);
        qp = newqp;
     }
     return RET_OK;