NMT: Fixed compiler warning

This commit is contained in:
Andreas Eversberg
2016-11-13 06:42:18 +01:00
parent 34954b50de
commit 5f5683e374

View File

@@ -257,7 +257,7 @@ static int num_frames;
const char *nmt_frame_name(enum nmt_mt mt) const char *nmt_frame_name(enum nmt_mt mt)
{ {
if (mt < 0 || (int)mt >= num_frames) if ((int)mt < 0 || (int)mt >= num_frames)
return "invalid"; return "invalid";
return nmt_frame[mt].nr; return nmt_frame[mt].nr;
} }