4.24 beta

This commit is contained in:
Igor Pavlov
2005-07-05 00:00:00 +00:00
committed by Kornel Lesiński
parent ac2b563958
commit 47f4915611
66 changed files with 757 additions and 366 deletions

View File

@@ -244,7 +244,7 @@ static UInt64 GetMemoryUsage(UInt32 dictionary)
UInt32 CBenchmarkDialog::OnChangeDictionary()
{
UInt64 dictionary = m_Dictionary.GetItemData(m_Dictionary.GetCurSel());
UInt32 dictionary = (UInt32)m_Dictionary.GetItemData(m_Dictionary.GetCurSel());
UInt64 memUsage = GetMemoryUsage(dictionary);
memUsage = (memUsage + (1 << 20) - 1) >> 20;
TCHAR s[40];