lib: fix signed/unsigned comparison issues
authorThomas Wood <thomas.wood@intel.com>
Thu, 6 Feb 2014 16:31:54 +0000 (16:31 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 6 Feb 2014 17:32:12 +0000 (18:32 +0100)
commit0269d1da4999ecb39ea65120a052259b19372748
treee618be17a4cd312face4dc1e1f203a17a59e77fa
parentc3e9198dd0424feb74cdf6570c769f818f2ca16c
lib: fix signed/unsigned comparison issues

Store the result of set_vt_mode as a signed value so that errors can be
caught correctly.

Signed-off-by: Thomas Wood <thomas.wood@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
lib/igt_kms.c