[CODING] Almost there

From: QA Developer (developer@csgmail.artisoft.com)
Date: 05/12/99


I finally got bpl15 and Oasis patched (clean) but I am receiving the
following warnings.  I realize they are only warnings but would prefer a
clean compile.  Any suggestions would be welcome.

MS Visual C++ 6.0  Windows 98

act.movement.c
        \mud\darklore\src\act.movement.c(334) : warning C4244: '=' : conversion
from 'long ' to 'short ', possible loss of data
        \mud\darklore\src\act.movement.c(336) : warning C4244: '=' : conversion
from 'long ' to 'short ', possible loss of data
        \mud\darklore\src\act.movement.c(341) : warning C4244: '=' : conversion
from 'long ' to 'short ', possible loss of data
        \mud\darklore\src\act.movement.c(343) : warning C4244: '=' : conversion
from 'long ' to 'short ', possible loss of data
        \mud\darklore\src\act.movement.c(347) : warning C4244: '=' : conversion
from 'long ' to 'short ', possible loss of data
        \mud\darklore\src\act.movement.c(349) : warning C4244: '=' : conversion
from 'long ' to 'short ', possible loss of data


Here are the code lines (act_movement.c)

320:    void do_doorcmd(struct char_data *ch, struct obj_data *obj, int door,
int scmd)

334:    OPEN_DOOR(ch->in_room, obj, door);
336:    OPEN_DOOR(other_room, obj, rev_dir[door]);
341:    LOCK_DOOR(ch->in_room, obj, door);
343:    LOCK_DOOR(other_room, obj, rev_dir[door]);
347:    LOCK_DOOR(ch->in_room, obj, door);
349:    LOCK_DOOR(other_room, obj, rev_dir[door]);

Thank you for your help


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST