diff options
author | Marc Aurele La France <tsi@xfree86.org> | 2006-07-29 01:03:34 +0300 |
---|---|---|
committer | George Sapountzis <gsap7@yahoo.gr> | 2006-07-29 01:03:34 +0300 |
commit | b377f403e0cd5253402ef3945e5944d1a2763a94 (patch) | |
tree | cef67c41f77f98c8a1849a3820783daf4640ce39 /src | |
parent | 91b8b0ca41ad0b9659f0982a05148cab8558e9d5 (diff) |
Fix warnings for Option:1 bit fields.
Diffstat (limited to 'src')
-rw-r--r-- | src/atistruct.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/atistruct.h b/src/atistruct.h index 0201042e..a84b0e8f 100644 --- a/src/atistruct.h +++ b/src/atistruct.h @@ -430,16 +430,16 @@ typedef struct _ATIRec /* * Driver options. */ - CARD8 OptionAccel:1; /* Use hardware draw engine */ - CARD8 OptionBIOSDisplay:1; /* Allow BIOS interference */ - CARD8 OptionBlend:1; /* Force horizontal blending */ - CARD8 OptionCRTDisplay:1; /* Display on both CRT and digital panel */ - CARD8 OptionCSync:1; /* Use composite sync */ - CARD8 OptionDevel:1; /* Intentionally undocumented */ + unsigned int OptionAccel:1; /* Use hardware draw engine */ + unsigned int OptionBIOSDisplay:1; /* Allow BIOS interference */ + unsigned int OptionBlend:1; /* Force horizontal blending */ + unsigned int OptionCRTDisplay:1; /* Display on both CRT & DFP */ + unsigned int OptionCSync:1; /* Use composite sync */ + unsigned int OptionDevel:1; /* Intentionally undocumented */ #ifndef AVOID_CPIO - CARD8 OptionLinear:1; /* Use linear fb aperture when available */ + unsigned int OptionLinear:1; /* Use linear aperture if available */ #endif /* AVOID_CPIO */ @@ -450,12 +450,12 @@ typedef struct _ATIRec #endif /* TV_OUT */ - CARD8 OptionMMIOCache:1; /* Cache MMIO writes */ - CARD8 OptionTestMMIOCache:1;/* Test MMIO cache integrity */ - CARD8 OptionPanelDisplay:1; /* Prefer digital panel over CRT */ - CARD8 OptionProbeClocks:1; /* Force probe for fixed clocks */ - CARD8 OptionShadowFB:1; /* Use shadow frame buffer */ - CARD8 OptionLCDSync:1; /* Temporary */ + unsigned int OptionMMIOCache:1; /* Cache MMIO writes */ + unsigned int OptionTestMMIOCache:1;/* Test MMIO cache integrity */ + unsigned int OptionPanelDisplay:1; /* Prefer digital panel over CRT */ + unsigned int OptionProbeClocks:1; /* Force probe for fixed clocks */ + unsigned int OptionShadowFB:1; /* Use shadow frame buffer */ + unsigned int OptionLCDSync:1; /* Temporary */ /* * State flags. |