Re: Major pending change in 2.5 for multi-gigabyte file support

From: Serassio Guido <guido.serassio@dont-contact.us>
Date: Fri, 08 Apr 2005 11:05:48 +0200

Hi Henrik,

At 05.38 26/03/2005, Henrik Nordstrom wrote:

>Most devel branches should be relatively safe from these changes even if
>this touched quite many files, and where cvsmerge does not figure it out
>automatically for you it shouldn't be too hard to resolve manually as most
>changes are relatively trivial in nature.
>

The Windows port builds fine, but after the merge I have a lot (> 20) of
warnings like:

C:\work\nt-2.5\src\stat.c(1440) : warning C4244: '=' : conversion from
'__int64 ' to 'unsigned int ', possible loss of data
C:\work\nt-2.5\src\store_io.c(30) : warning C4244: '=' : conversion from
'__int64 ' to 'unsigned int ', possible loss of data
  C:\work\nt-2.5\src\mime.c(450) : warning C4244: '=' : conversion from
'__int64 ' to 'int ', possible loss of data

The majority of them comes from operations between 32 bit size_t and 64 bit
squid_off_t.
Reading LFS specifications, if I understood correctly, it seems that size_t
is still a 32 bit type.
What is wrong here, is a Windows specific problem ?

Regards

Guido

-
========================================================
Guido Serassio
Acme Consulting S.r.l. - Microsoft Certified Partner
Via Lucia Savarino, 1 10098 - Rivoli (TO) - ITALY
Tel. : +39.011.9530135 Fax. : +39.011.9781115
Email: guido.serassio@acmeconsulting.it
WWW: http://www.acmeconsulting.it/
Received on Fri Apr 08 2005 - 03:06:23 MDT

This archive was generated by hypermail pre-2.1.9 : Sun May 01 2005 - 12:00:06 MDT