Hi,
mod_cache_socache also uses different datatypes, here its apr_off_t vs. apr_size_t; at least on 32-bit OS it happens that with LARGE_FILE apr_size_t = int32, but apr_off_t = int64 ...

mod_cache_socache.c
.\httpd\modules\cache\mod_cache_socache.c(399) : warning C4244: '=' : conversion from '__int64 ' to 'unsigned int ', possible loss of data .\httpd\modules\cache\mod_cache_socache.c(400) : warning C4244: 'function' : conversion from '__int64 ' to 'unsigned int ', possible loss of data .\httpd\modules\cache\mod_cache_socache.c(401) : warning C4244: 'function' : conversion from '__int64 ' to 'unsigned int ', possible loss of data .\build\httpd\modules\cache\mod_cache_socache.c(464) : warning C4244: 'function' : conversion from '__int64 ' to 'unsigned int ', possible loss of data .\httpd\modules\cache\mod_cache_socache.c(465) : warning C4244: '=' : conversion from '__int64 ' to 'unsigned int ', possible loss of data .\httpd\modules\cache\mod_cache_socache.c(808) : warning C4244: 'function' : conversion from '__int64 ' to 'unsigned int ', possible loss of data .\httpd\modules\cache\mod_cache_socache.c(809) : warning C4244: '=' : conversion from '__int64 ' to 'unsigned int ', possible loss of data .\httpd\modules\cache\mod_cache_socache.c(402) : warning C4761: integral size mismatch in argument; conversion supplied .\build\httpd\modules\cache\mod_cache_socache.c(402) : warning C4761: integral size mismatch in argument; conversion supplied .\httpd\modules\cache\mod_cache_socache.c(464) : warning C4761: integral size mismatch in argument; conversion supplied .\httpd\modules\cache\mod_cache_socache.c(808) : warning C4761: integral size mismatch in argument; conversion supplied

so this 'possible loss of data' is true, and this might probably be an issue when caching > 4GB ...

solong, Gün.

Reply via email to