Win32 Integral size mismatch warnings.

From: George (greerga@CIRCLEMUD.ORG)
Date: 08/24/98


Seems to be caused by GET_ROOM_VNUM macro, can people try this change?

diff -u stk/utils.h conv/utils.h
--- stk/utils.h Sun Jun 21 00:19:07 1998
+++ conv/utils.h        Mon Aug 24 13:01:31 1998
@@ -224,8 +224,10 @@

 #define IS_LIGHT(room)  (!IS_DARK(room))

-#define GET_ROOM_VNUM(rnum)    ((rnum) >= 0 && (rnum) <= top_of_world ? world[(rnum)].number : NOWHERE)
-#define GET_ROOM_SPEC(room) ((room) >= 0 ? world[(room)].func : NULL)
+#define GET_ROOM_VNUM(rnum)    \
+       ((rnum) >= 0 && (rnum) <= top_of_world ? world[(rnum)].number : (room_vnum)NOWHERE)
+#define GET_ROOM_SPEC(room)    \
+       ((room) >= 0 && (room) <= top_of_world ? world[(room)].func : NULL)

 /* char utils
************************************************************/

Let me know if it works, thanks.

--
George Greer, greerga@circlemud.org | Genius may have its limitations, but
http://mouse.van.ml.org/ (not done) | stupidity is not thus handicapped.
http://www.van.ml.org/CircleMUD/    |                  -- Elbert Hubbard


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



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