commit | d92462401dde1effa04a51d0a15000e6246d2a43 | [log] [tgz] |
---|---|---|
author | Hans Verkuil <hans.verkuil@cisco.com> | Tue Oct 02 02:47:59 2012 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Sun Oct 07 10:19:50 2012 -0300 |
tree | bfb673595f0ecfcbbf7abddcb0d4eee151e15c82 | |
parent | 1b8b10cc7e6bd9bf017c58e32b1e7f632e23850d [diff] |
[media] v4l2-ioctl: fix W=1 warnings Since the prt_names() macro is always called with an unsigned index the ((a) >= 0) condition is always true and gives a compiler warning when compiling with W=1. Rewrite the macro to avoid that warning, but cast the index to unsigned just in case it is ever called with a signed argument. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>