[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#722: More Visual Studio 6.0 compiler errors on Windows XP
From: |
Andreas Schwab |
Subject: |
bug#722: More Visual Studio 6.0 compiler errors on Windows XP |
Date: |
Fri, 15 Aug 2008 11:33:32 +0200 |
User-agent: |
Gnus/5.110009 (No Gnus v0.9) Emacs/22.2 (gnu/linux) |
Francis Litterio <flitterio@gmail.com> writes:
> --- dired.c~ 2008-08-14 17:09:53.759788900 -0400
> +++ dired.c 2008-08-14 17:13:16.585787100 -0400
> @@ -961,7 +961,7 @@
> values[7] = make_number (s.st_size);
> /* If the size is out of range for an integer, return a float. */
> if (XINT (values[7]) != s.st_size)
> - values[7] = make_float ((double)s.st_size);
> + values[7] = make_float ((signed __int64)s.st_size);
Tell Microsoft to fix their compiler, you are changeing perfectly valid
C into unportable junk.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
Message not available
bug#722: More Visual Studio 6.0 compiler errors on Windows XP, Stefan Monnier, 2008/08/15