Permalink
Browse files

Fix type of a loop iterator (int->uint).

  • Loading branch information...
daniel-kristjansson committed Oct 3, 2012
1 parent 94e3702 commit c473c648892898c6f27a8bf1f28ace2798e610b0
Showing with 2 additions and 1 deletion.
  1. +2 −1 mythtv/libs/libmythtv/decoderbase.cpp
@@ -997,7 +997,8 @@ int DecoderBase::AutoSelectTrack(uint type)
m_parent->ForcedSubtitlesFavored());
int position = numStreams - i;
int language = 0;
for (int j = 0; language == 0 && j < languagePreference.size(); ++j)
for (uint j = 0;
(language == 0) && (j < languagePreference.size()); ++j)
{
if (tracks[type][i].language == languagePreference[j])
language = languagePreference.size() - j;

0 comments on commit c473c64

Please sign in to comment.