From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#720: Patch to fix CVS Emacs compilation error on Windows XP SP2. Date: Thu, 14 Aug 2008 22:24:32 +0300 Message-ID: References: Reply-To: Eli Zaretskii , 720@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1218743258 25380 80.91.229.12 (14 Aug 2008 19:47:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 14 Aug 2008 19:47:38 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org To: Francis Litterio , 720@emacsbugs.donarmstrong.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Aug 14 21:48:30 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 1KTioA-00065K-4I for geb-bug-gnu-emacs@m.gmane.org; Thu, 14 Aug 2008 21:48:30 +0200 Original-Received: from localhost ([127.0.0.1]:45853 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KTinD-0002nE-Kw for geb-bug-gnu-emacs@m.gmane.org; Thu, 14 Aug 2008 15:47:31 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KTinB-0002mq-6U for bug-gnu-emacs@gnu.org; Thu, 14 Aug 2008 15:47:29 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KTinA-0002mO-Mg for bug-gnu-emacs@gnu.org; Thu, 14 Aug 2008 15:47:28 -0400 Original-Received: from [199.232.76.173] (port=51658 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KTinA-0002mL-Jq for bug-gnu-emacs@gnu.org; Thu, 14 Aug 2008 15:47:28 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:59272) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KTinA-00045c-6i for bug-gnu-emacs@gnu.org; Thu, 14 Aug 2008 15:47: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 m7EJlPD3025239; Thu, 14 Aug 2008 12:47:25 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m7EJU4LC019558; Thu, 14 Aug 2008 12:30:04 -0700 X-Loop: don@donarmstrong.com Resent-From: Eli Zaretskii Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 14 Aug 2008 19:30: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 720-submit@emacsbugs.donarmstrong.com id=B720.121874188317893 (code B ref 720); Thu, 14 Aug 2008 19:30:04 +0000 Original-Received: (at 720) by emacsbugs.donarmstrong.com; 14 Aug 2008 19:24:43 +0000 Original-Received: from mtaout1.012.net.il (mtaout1.012.net.il [84.95.2.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m7EJOd1d017812 for <720@emacsbugs.donarmstrong.com>; Thu, 14 Aug 2008 12:24:40 -0700 Original-Received: from HOME-C4E4A596F7 ([84.229.211.50]) by i-mtaout1.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0K5L00JX6V9JYXB0@i-mtaout1.012.net.il> for 720@emacsbugs.donarmstrong.com; Thu, 14 Aug 2008 22:24:55 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-CrossAssassin-Score: 2 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Resent-Date: Thu, 14 Aug 2008 15:47:28 -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:19429 Archived-At: > Date: Thu, 14 Aug 2008 12:57:56 -0400 > From: Francis Litterio > Cc: > > 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. Thank you for your report. Can you show the error text? > - totphys = memstex.ullTotalPhys / 1024.0; > + totphys = (signed __int64)memstex.ullTotalPhys / 1024.0; Does it help to use 1024.0L here instead of just 1024.0?