Subject: Re: bug#720: Patch to fix CVS Emacs compilation error on Windows XP SP2.

From: Eli Zaretskii <[email-masked]>
Date: Thu, 14 Aug 2008 23:20:07 +0300

> From: Stefan Monnier <[email-masked]>
> Date: Thu, 14 Aug 2008 15:54:44 -0400
> Cc: [email-masked], [email-masked]
> 
> > When building CVS Emacs on Windows XP SP2 using Visual Studio 6.0, the
> > following patch is needed to prevent the compiler from displaying an
> > error about unsigned __int64 not being convertable to double.
> 
> Wouldn't it be better to cast to (double) ?

Wouldn't that be doing the same mistake?  The compiler probably has a
point: an unsigned 64-bit number has more bits than a simple double
can handle.