On Sun, 2 Feb 1997, DJ Pure wrote:
> Hello all.
> what does this warning mean and how could i change this (without changing
> the warning levels)
>
> C:\Circle Mud\src\act.movement.c(160) : warning C4761: integral size
> mismatch in argument; conversion supplied
>
> if (IS_SET(ROOM_FLAGS(ch->in_room), ROOM_ATRIUM)) {
> if (!House_can_enter(ch, vnum)) /* ** LINE 160 is here */ {
> send_to_char("That's private property -- no trespassing!\r\n", ch);
> return 0;
> }
> }
>
> vnum is set as an int at the correct place (i just checked then).
Change 'vnum' from an 'int' to a 'sh_int'.
--
Daniel Koepke
dkoepke@california.com
Forgive me father, for I am sin.
+-----------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
| http://cspo.queensu.ca/~fletcher/Circle/list_faq.html |
+-----------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/18/00 PST