I just grabbed the latest out of CVS, and needed the following for our VC 6.0 build.
Thanks, Joseph [EMAIL PROTECTED] wrote:
+ Work around a VC 6.0 limitation using some creative casting. Joseph ===== Changes ===================================================== U vendor/Crypto++/5.3-CVS-snapshot/network.cpp ===== Diffs ======================================================= Modified: vendor/Crypto++/5.3-CVS-snapshot/network.cpp =================================================================== --- vendor/Crypto++/5.3-CVS-snapshot/network.cpp 2006-07-05 19:03:27 UTC (rev 23809) +++ vendor/Crypto++/5.3-CVS-snapshot/network.cpp 2006-07-05 19:14:15 UTC (rev 23810) @@ -395,7 +395,7 @@ float NetworkSink::GetMaxObservedSpeed() const { lword m = GetMaxBytesPerSecond(); - return m ? STDMIN(m_maxObservedSpeed, float(m)) : m_maxObservedSpeed; + return (__int64)(m ? STDMIN(m_maxObservedSpeed, float((__int64)m)) : m_maxObservedSpeed); }unsigned int NetworkSink::GetMaxWaitObjectCount() const
