NMT: Fixed compiler warning
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user