Return-Path: Delivered-To: apmail-apr-commits-archive@www.apache.org Received: (qmail 96850 invoked from network); 18 Dec 2009 20:46:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 18 Dec 2009 20:46:42 -0000 Received: (qmail 41512 invoked by uid 500); 18 Dec 2009 20:46:42 -0000 Delivered-To: apmail-apr-commits-archive@apr.apache.org Received: (qmail 41454 invoked by uid 500); 18 Dec 2009 20:46:41 -0000 Mailing-List: contact commits-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: Reply-To: dev@apr.apache.org List-Id: Delivered-To: mailing list commits@apr.apache.org Received: (qmail 41444 invoked by uid 99); 18 Dec 2009 20:46:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Dec 2009 20:46:41 +0000 X-ASF-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Dec 2009 20:46:34 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 6A6562388A1A; Fri, 18 Dec 2009 20:46:14 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r892378 - /apr/apr/trunk/file_io/win32/readwrite.c Date: Fri, 18 Dec 2009 20:46:14 -0000 To: commits@apr.apache.org From: wrowe@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20091218204614.6A6562388A1A@eris.apache.org> Author: wrowe Date: Fri Dec 18 20:46:13 2009 New Revision: 892378 URL: http://svn.apache.org/viewvc?rev=892378&view=rev Log: This high-offset arg is signed Modified: apr/apr/trunk/file_io/win32/readwrite.c Modified: apr/apr/trunk/file_io/win32/readwrite.c URL: http://svn.apache.org/viewvc/apr/apr/trunk/file_io/win32/readwrite.c?rev=892378&r1=892377&r2=892378&view=diff ============================================================================== --- apr/apr/trunk/file_io/win32/readwrite.c (original) +++ apr/apr/trunk/file_io/win32/readwrite.c Fri Dec 18 20:46:13 2009 @@ -265,8 +265,8 @@ if (thefile->direction == 0) { // Position file pointer for writing at the offset we are logically reading from apr_off_t offset = thefile->filePtr - thefile->dataRead + thefile->bufpos; - DWORD offlo = (DWORD)offset; - DWORD offhi = (DWORD)(offset >> 32); + apr_uint32_t offlo = (apr_uint32_t)offset; + apr_int32_t offhi = (apr_int32_t)(offset >> 32); if (offset != thefile->filePtr) SetFilePointer(thefile->filehand, offlo, &offhi, FILE_BEGIN); thefile->bufpos = thefile->dataRead = 0;