videomodes has a few char types, so we need to typecast to int when referenced in arrays.
Authored by: SumolX 2009-03-23
Parent: [r2170]
Child: [r2172]