Commit 398ff6ba authored by Jean-Paul Saman's avatar Jean-Paul Saman

dvbinfo: fix "comparison between signed and unsigned"

parent ca466ffa
...@@ -569,7 +569,7 @@ int main(int argc, char **pp_argv) ...@@ -569,7 +569,7 @@ int main(int argc, char **pp_argv)
{ {
param->b_summary = true; param->b_summary = true;
ssize_t size = ARRAY_SIZE(psz_summary_mode); ssize_t size = ARRAY_SIZE(psz_summary_mode);
for (unsigned int i = 0; i < size; i++) for (ssize_t i = 0; i < size; i++)
{ {
printf("summary mode %s\n", psz_summary_mode[i]); printf("summary mode %s\n", psz_summary_mode[i]);
if (strncmp(optarg, psz_summary_mode[i], strlen(psz_summary_mode[i])) == 0) if (strncmp(optarg, psz_summary_mode[i], strlen(psz_summary_mode[i])) == 0)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment