From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Francis Litterio Newsgroups: gmane.emacs.bugs Subject: bug#720: Patch to fix CVS Emacs compilation error on Windows XP SP2. Date: Thu, 14 Aug 2008 12:57:56 -0400 Message-ID: Reply-To: Francis Litterio , 720@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1218734932 28669 80.91.229.12 (14 Aug 2008 17:28:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 14 Aug 2008 17:28:52 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Aug 14 19:29:34 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KTgci-00073V-VL for geb-bug-gnu-emacs@m.gmane.org; Thu, 14 Aug 2008 19:28:33 +0200 Original-Received: from localhost ([127.0.0.1]:43504 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KTgbm-0000wa-H2 for geb-bug-gnu-emacs@m.gmane.org; Thu, 14 Aug 2008 13:27:34 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KTgbi-0000vi-8S for bug-gnu-emacs@gnu.org; Thu, 14 Aug 2008 13:27:30 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KTgbh-0000uz-Eh for bug-gnu-emacs@gnu.org; Thu, 14 Aug 2008 13:27:29 -0400 Original-Received: from [199.232.76.173] (port=56010 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KTgbg-0000ul-W7 for bug-gnu-emacs@gnu.org; Thu, 14 Aug 2008 13:27:29 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:60386) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KTgbg-0003Qx-HC for bug-gnu-emacs@gnu.org; Thu, 14 Aug 2008 13:27:28 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m7EHRP0Q014146; Thu, 14 Aug 2008 10:27:26 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m7EHA5Bg008425; Thu, 14 Aug 2008 10:10:05 -0700 X-Loop: don@donarmstrong.com Resent-From: Francis Litterio Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 14 Aug 2008 17:10:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 720 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12187333435889 (code B ref -1); Thu, 14 Aug 2008 17:10:04 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 14 Aug 2008 17:02:23 +0000 Original-Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m7EH2JXV005883 for ; Thu, 14 Aug 2008 10:02:20 -0700 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KTgDJ-0008GH-TD for bug-gnu-emacs@gnu.org; Thu, 14 Aug 2008 13:02:18 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KTgDG-0008F2-SU for bug-gnu-emacs@gnu.org; Thu, 14 Aug 2008 13:02:17 -0400 Original-Received: from [199.232.76.173] (port=34242 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KTgDF-0008Ee-U2 for bug-gnu-emacs@gnu.org; Thu, 14 Aug 2008 13:02:14 -0400 Original-Received: from pcls4.std.com ([192.74.137.84]:36547 helo=TheWorld.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KTgDE-0003sz-1J for bug-gnu-emacs@gnu.org; Thu, 14 Aug 2008 13:02:12 -0400 Original-Received: from shell.TheWorld.com (IDENT:105@shell01.TheWorld.com [192.74.137.71]) by TheWorld.com (8.13.6/8.13.6) with ESMTP id m7EH1BOC012662 for ; Thu, 14 Aug 2008 13:01:13 -0400 Original-Received: from usenlittefl1c.theworld.com (localhost.theworld.com [127.0.0.1]) by shell.TheWorld.com (8.13.6/8.12.8) with ESMTP id m7EH1AvW7597005 for ; Thu, 14 Aug 2008 13:01:10 -0400 (EDT) X-Random-Quote: There are two kinds of drivers: maniacs and idiots. The maniacs are everyone going faster than you, and the idiots are everyone going slower than you. -- George Carlin User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (windows-nt) X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Resent-Date: Thu, 14 Aug 2008 13:27:29 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:19423 Archived-At: 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. -- Fran --- w32.c~ 2008-08-11 13:51:58.372421800 -0400 +++ w32.c 2008-08-14 12:54:29.192936600 -0400 @@ -3817,7 +3817,7 @@ attrs); if (global_memory_status_ex (&memstex)) - totphys = memstex.ullTotalPhys / 1024.0; + totphys = (signed __int64)memstex.ullTotalPhys / 1024.0; else if (global_memory_status (&memst)) totphys = memst.dwTotalPhys / 1024.0;