Re: conversion error in act.movement.c

From: Chris Gilbert (chris@buzzbee.freeserve.co.uk)
Date: 01/20/00


Mac Manson wrote:
>
> 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

[snip]

My experience shows that MSVC is a bit more picky on this kind of
thing.  I think you'll find that it's unlikely to cause any negative
effects.  I suppose it should be casted properly.

Chris


     +------------------------------------------------------------+
     | 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