Skip to content

Commit

Permalink
fix type of counter to match length
Browse files Browse the repository at this point in the history
  • Loading branch information
dekarl committed Jun 4, 2013
1 parent ea3be16 commit 8e9d5df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mythtv/libs/libmyth/programinfo.cpp
Expand Up @@ -100,7 +100,7 @@ ProgramInfo::CategoryType string_to_myth_category_type(const QString &category_t
static const char *cattype[] =
{ "", "movie", "series", "sports", "tvshow", };

for (uint i = 1; i < NUM_CAT_TYPES; i++)
for (int i = 1; i < NUM_CAT_TYPES; i++)
if (category_type == cattype[i])
return (ProgramInfo::CategoryType) i;
return ProgramInfo::kCategoryNone;
Expand Down

0 comments on commit 8e9d5df

Please sign in to comment.