]> err.no Git - linux-2.6/commitdiff
intelfb: fix mtrr_reg signedness
authorDave Airlie <airlied@linux.ie>
Tue, 22 Aug 2006 00:10:56 +0000 (10:10 +1000)
committerDave Airlie <airlied@linux.ie>
Tue, 22 Aug 2006 00:10:56 +0000 (10:10 +1000)
This is my fix for gcc 4.1 sign issue reported by Eric Sesterhenn
<snakebyte@gmx.de>.

Signed-off-by: Dave Airlie <airlied@linux.ie>
drivers/video/intelfb/intelfb.h

index abdadc2a1b4796fa71b105f04fb9010a0b97277e..80b94c19a9fac5ea30f373654fb8a78b0d83740b 100644 (file)
@@ -278,7 +278,7 @@ struct intelfb_info {
        u8 fbmem_gart;
 
        /* mtrr support */
-       u32 mtrr_reg;
+       int mtrr_reg;
        u32 has_mtrr;
 
        /* heap data */