Changeset 57


Ignore:
Timestamp:
10/15/07 01:02:06 (7 years ago)
Author:
lowjoel
Message:

Warning fixes for everyone.

Location:
trunk/EraserUI
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/EraserUI/FileTreeCtrl.cpp

    r44 r57  
    17121712      sToRelative += szExt; 
    17131713    } 
    1714     int nToLength = _tcslen(sTo); 
     1714    size_t nToLength = _tcslen(sTo); 
    17151715    TCHAR* pszTo = new TCHAR[nToLength + 2]; 
    17161716    _tcscpy(pszTo, sTo); 
  • trunk/EraserUI/FlatHeaderCtrl.cpp

    r54 r57  
    798798    ScreenToClient(&m_hdhtiHotItem.pt); 
    799799 
    800     m_iHotIndex = SendMessage(HDM_HITTEST, 0, (LPARAM)(&m_hdhtiHotItem)); 
     800    m_iHotIndex = (int)SendMessage(HDM_HITTEST, 0, (LPARAM)(&m_hdhtiHotItem)); 
    801801 
    802802    if (m_iHotIndex >= 0) 
     
    10521052 
    10531053                    INT iHotOrder = -1; 
    1054                     INT iHotIndex = SendMessage(HDM_HITTEST, 0, (LPARAM)(&hdhti)); 
     1054                    INT iHotIndex = (INT)SendMessage(HDM_HITTEST, 0, (LPARAM)(&hdhti)); 
    10551055 
    10561056                    if (iHotIndex >= 0) 
  • trunk/EraserUI/ProgressBar.cpp

    r44 r57  
    189189        return CLR_DEFAULT; 
    190190 
    191     return SendMessage(PBM_SETBKCOLOR, 0, (LPARAM) clrBk); 
     191    return (COLORREF)SendMessage(PBM_SETBKCOLOR, 0, (LPARAM) clrBk); 
    192192#else 
    193193    UNUSED(clrBk); 
Note: See TracChangeset for help on using the changeset viewer.