intel: Becareful not to match UMS against future generations

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson 2013-02-06 16:39:31 +00:00
parent be241fb25e
commit 5c8084ef04
1 changed files with 1 additions and 1 deletions

View File

@ -488,7 +488,7 @@ intel_scrn_create(DriverPtr driver,
xf86AddEntityToScreen(scrn, entity_num);
#if !KMS_ONLY
if (((struct intel_device_info *)match_data)->gen < 020)
if ((unsigned)((struct intel_device_info *)match_data)->gen < 020)
return lg_i810_init(scrn);
#endif