Comment 5 for bug 786156

Revision history for this message
Alexander Belchenko (bialix) wrote : Re: [Bug 786156] [NEW] warnings during build with VS2008

22.05.2011 9:35, Alexander Belchenko пишет:
> 21.05.2011 19:40, Jelmer Vernooij пишет:
>>> Also there are warnings about type conversions, perhaps implicit
>>> conversions, and possible loss of data:
>>>
>>> subvertpy\util.c(635) : warning C4244: функция: преобразование 'const svn_filesize_t' в 'long', возможна потеря данных
>>> subvertpy\util.c(650) : warning C4244: функция: преобразование 'const apr_time_t' в 'long', возможна потеря данных
>>>
>>> subvertpy\repos.c(688) : warning C4244: функция: преобразование
>>> 'svn_filesize_t' в 'long', возможна потеря данных
>>>
>>> You may want to check that and maybe provide and explicit cast.
>> I don't speak Russian very well, and I don't have MSVC here. Can you
>> parahprase what the errors are about?
>
> http://msdn.microsoft.com/en-us/library/th7a07tz(v=vs.80).aspx

Actually in English those errors sounds like:

conversion from 'const svn_filesize_t' to 'long', possible loss of data
conversion from 'const apr_time_t' to 'long', possible loss of data

Both svn_filesize_t and apr_time_t are __int64, i.e. `long long`.