diff options
author | Underground78 <underground78@users.sourceforge.net> | 2011-08-11 00:08:23 +0400 |
---|---|---|
committer | Underground78 <underground78@users.sourceforge.net> | 2011-08-11 00:08:23 +0400 |
commit | 8caf4b5aaf91b5ffabc65d2ac2f000d8603ba233 (patch) | |
tree | 9abcc8e8d78463d09ff1b69ec0443c71361a55e1 /src/filters/parser/DSMSplitter | |
parent | 3f21c3923cc0793b068cf74094225dabbd5c7dbb (diff) |
Fix ~130 C4018 warnings (signed/unsigned mismatch).
Patch partially by XhmikosR.
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@3637 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/filters/parser/DSMSplitter')
-rw-r--r-- | src/filters/parser/DSMSplitter/DSMSplitter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/filters/parser/DSMSplitter/DSMSplitter.cpp b/src/filters/parser/DSMSplitter/DSMSplitter.cpp index e2b37a7be..74c148d53 100644 --- a/src/filters/parser/DSMSplitter/DSMSplitter.cpp +++ b/src/filters/parser/DSMSplitter/DSMSplitter.cpp @@ -126,7 +126,7 @@ HRESULT CDSMSplitterFilter::CreateOutputs(IAsyncReader* pAsyncReader) qsort(ids.GetData(), ids.GetCount(), sizeof(BYTE), compare_id);
- for(int i = 0; i < ids.GetCount(); i++) {
+ for(size_t i = 0; i < ids.GetCount(); i++) {
BYTE id = ids[i];
CMediaType& mt = m_pFile->m_mts[id];
@@ -177,7 +177,7 @@ HRESULT CDSMSplitterFilter::CreateOutputs(IAsyncReader* pAsyncReader) SetProperty(CStringW(key), value);
}
- for(int i = 0; i < m_resources.GetCount(); i++) {
+ for(size_t i = 0; i < m_resources.GetCount(); i++) {
const CDSMResource& r = m_resources[i];
if(r.mime == "application/x-truetype-font") {
m_fontinst.InstallFont(r.data);
|