Permalink
Browse files

oggz-codecs: fix for unsigned comparison >= 0

  • Loading branch information...
kfish committed Sep 14, 2009
1 parent 2cc0d20 commit 41a6e2d41e303f657fbe9ee7addab50f53b47500
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/tools/oggz-codecs.c
View
@@ -115,7 +115,7 @@ print_codec_name (OI_Info * info, long serialno)
}
if (show_as_mime) {
const char *mime_type = NULL;
- if (content >= 0 && content < OGGZ_CONTENT_UNKNOWN)
+ if (content < OGGZ_CONTENT_UNKNOWN)
mime_type = mime_type_names[content];
if (!mime_type) mime_type = "application/octet-stream";
printf("%s%s", mime_type, show_one_per_line?"\n":"");

0 comments on commit 41a6e2d

Please sign in to comment.