conversion error in act.movement.c

From: Mac Manson (stabaho@uswest.net)
Date: 01/20/00


Well, since you guys had the answer for the const question I had, maybe you
can help me with this.
It comes from stock circle30bpl15, no modifications.

error

C:\Windows\Profiles\Mac Manson\Desktop\live
code\livewin\circle30bpl15\src\act.movement.c(334) : warning C4244: '=' :
conversion from 'long ' to 'short ', possible loss of data

line of code

    OPEN_DOOR(ch->in_room, obj, door);

C:\Windows\Profiles\Mac Manson\Desktop\live
code\livewin\circle30bpl15\src\act.movement.c(336) : warning C4244: '=' :
conversion from 'long ' to 'short ', possible loss of data

    OPEN_DOOR(other_room, obj, rev_dir[door]);

C:\Windows\Profiles\Mac Manson\Desktop\live
code\livewin\circle30bpl15\src\act.movement.c(341) : warning C4244: '=' :
conversion from 'long ' to 'short ', possible loss of data

    LOCK_DOOR(ch->in_room, obj, door);

C:\Windows\Profiles\Mac Manson\Desktop\live
code\livewin\circle30bpl15\src\act.movement.c(343) : warning C4244: '=' :
conversion from 'long ' to 'short ', possible loss of data

    LOCK_DOOR(other_room, obj, rev_dir[door]);

C:\Windows\Profiles\Mac Manson\Desktop\live
code\livewin\circle30bpl15\src\act.movement.c(347) : warning C4244: '=' :
conversion from 'long ' to 'short ', possible loss of data

    LOCK_DOOR(ch->in_room, obj, door);
C:\Windows\Profiles\Mac Manson\Desktop\live
code\livewin\circle30bpl15\src\act.movement.c(349) : warning C4244: '=' :
conversion from 'long ' to 'short ', possible loss of data

    LOCK_DOOR(ch->in_room, obj, door);


Mac Manson
stabaho@hotmail.com
ICQ# 49355422
Tikkanen MUD (sword.grailhall.com 8000)
http://63.226.132.110


     +------------------------------------------------------------+
     | 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 : 04/10/01 PDT