From 5f5683e374707c188e4b8c63b13c309a4fa4613f Mon Sep 17 00:00:00 2001 From: Andreas Eversberg Date: Sun, 13 Nov 2016 06:42:18 +0100 Subject: [PATCH] NMT: Fixed compiler warning --- src/nmt/frame.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nmt/frame.c b/src/nmt/frame.c index c63ff21..b9c0f0d 100644 --- a/src/nmt/frame.c +++ b/src/nmt/frame.c @@ -257,7 +257,7 @@ static int num_frames; 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 nmt_frame[mt].nr; }