diff options
Diffstat (limited to 'src/apps/mplayerc/PlayerCaptureDialog.h')
-rw-r--r-- | src/apps/mplayerc/PlayerCaptureDialog.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/apps/mplayerc/PlayerCaptureDialog.h b/src/apps/mplayerc/PlayerCaptureDialog.h index 046953cf8..cab61cc2c 100644 --- a/src/apps/mplayerc/PlayerCaptureDialog.h +++ b/src/apps/mplayerc/PlayerCaptureDialog.h @@ -57,7 +57,7 @@ public: virtual ~CFormatArray() {}
CFormat<T>* Find(CString name, bool fCreate = false) {
- for(int i = 0; i < (int)GetCount(); i++) {
+ for(size_t i = 0; i < GetCount(); ++i) {
if(GetAt(i)->name == name) {
return(GetAt(i));
}
@@ -78,9 +78,9 @@ public: return(false);
}
- for(int i = 0; i < (int)GetCount(); i++) {
+ for(size_t i = 0; i < GetCount(); ++i) {
CFormat<T>* pf = GetAt(i);
- for(int j = 0; j < (int)pf->GetCount(); j++) {
+ for(size_t j = 0; j < pf->GetCount(); ++j) {
CFormatElem<T>* pfe = pf->GetAt(j);
if(!pmt || (pfe->mt.majortype == pmt->majortype && pfe->mt.subtype == pmt->subtype)) {
if(ppf) {
@@ -99,9 +99,9 @@ public: return(false);
}
- for(int i = 0; i < (int)GetCount(); i++) {
+ for(size_t i = 0; i < GetCount(); ++i) {
CFormat<T>* pf = GetAt(i);
- for(int j = 0; j < (int)pf->GetCount(); j++) {
+ for(size_t j = 0; j < pf->GetCount(); ++j) {
CFormatElem<T>* pfe = pf->GetAt(j);
if((!pmt || pfe->mt == *pmt) && (!pcaps || !memcmp(pcaps, &pfe->caps, sizeof(T)))) {
if(ppf) {
|