diff options
author | kinddragon <kinddragon@users.sourceforge.net> | 2010-05-16 23:28:57 +0400 |
---|---|---|
committer | kinddragon <kinddragon@users.sourceforge.net> | 2010-05-16 23:28:57 +0400 |
commit | e9e09d64fbc9c884e7e00f22bfa9de18b8748bb9 (patch) | |
tree | 1a147ec652bb6baef603d72fc6bb9129c416b38b /src/apps/mplayerc/ConvertDlg.cpp | |
parent | 3a990e7f323a3f68c286ad8b3395c681368ff46b (diff) |
Some warnings fixed (uninitialized local variable, unused local variable, comparison signed/unsigned type, assignment in if)
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@1886 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/apps/mplayerc/ConvertDlg.cpp')
-rw-r--r-- | src/apps/mplayerc/ConvertDlg.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/apps/mplayerc/ConvertDlg.cpp b/src/apps/mplayerc/ConvertDlg.cpp index 6dbf4a4bb..c66117814 100644 --- a/src/apps/mplayerc/ConvertDlg.cpp +++ b/src/apps/mplayerc/ConvertDlg.cpp @@ -71,7 +71,7 @@ void CConvertDlg::AddFile(CString fn) EndEnumPins;
if(!nConnected)
{
- MessageBeep(-1);
+ MessageBeep((UINT)-1);
DeleteFilter(pBF);
return;
}
@@ -828,7 +828,7 @@ BOOL CConvertDlg::OnInitDialog() || !(m_pMC = m_pGB) || !(m_pME = m_pGB) || !(m_pMS = m_pMux)
|| FAILED(m_pME->SetNotifyWindow((OAHWND)m_hWnd, WM_GRAPHNOTIFY, 0)))
{
- MessageBeep(-1);
+ MessageBeep((UINT)-1);
SendMessage(WM_CLOSE);
return TRUE;
}
|