diff options
author | Underground78 <underground78@users.sourceforge.net> | 2015-07-27 00:05:17 +0300 |
---|---|---|
committer | Underground78 <underground78@users.sourceforge.net> | 2015-08-01 17:50:18 +0300 |
commit | ffffb3ed51c96a66693f8d46164bb26291b3389b (patch) | |
tree | c1bdedfc9cfa9e645c058dac46d551a18a49e816 /src/filters | |
parent | 69db692d966bc8123b8061be03899da25fd872fb (diff) |
Silence some C4838 warnings.
Diffstat (limited to 'src/filters')
-rw-r--r-- | src/filters/switcher/AudioSwitcher/AudioSwitcher.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/filters/switcher/AudioSwitcher/AudioSwitcher.cpp b/src/filters/switcher/AudioSwitcher/AudioSwitcher.cpp index 8df7df63a..8e6dd1c27 100644 --- a/src/filters/switcher/AudioSwitcher/AudioSwitcher.cpp +++ b/src/filters/switcher/AudioSwitcher/AudioSwitcher.cpp @@ -1,6 +1,6 @@ /*
* (C) 2003-2006 Gabest
- * (C) 2006-2014 see Authors.txt
+ * (C) 2006-2015 see Authors.txt
*
* This file is part of MPC-HC.
*
@@ -504,7 +504,7 @@ CMediaType CAudioSwitcherFilter::CreateNewOutputMediaType(CMediaType mt, long& c DWORD mask = DWORD((__int64(1) << wfe->nChannels) - 1);
for (int i = 0; i < AS_MAX_CHANNELS; i++) {
if (m_pSpeakerToChannelMap[wfe->nChannels - 1][i]&mask) {
- ChMap cm = {1 << i, m_pSpeakerToChannelMap[wfe->nChannels - 1][i]};
+ ChMap cm = {1u << i, m_pSpeakerToChannelMap[wfe->nChannels - 1][i]};
m_chs[wfe->nChannels - 1].Add(cm);
}
}
|