Re: [COMPILING] Warnings

From: George (greerga@CIRCLEMUD.ORG)
Date: 03/25/98


On Wed, 25 Mar 1998, Tharin2002 wrote:

>warning C4761: integral size mismatch in argument; conversion supplied

You're passing a 'long' where you want an 'int' or something similiar. (Not
that the particular combination I gave matters with some OS's...)

It's not much to worry about unless you're stuffing a big variable into a
smaller one. (and thusly can lose precision and/or signedness.)

--
George Greer  -  Me@Null.net   | Genius may have its limitations, but stupidity
http://www.van.ml.org/~greerga | is not thus handicapped. -- 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