diff options
author | Adam Jackson <ajax@benzedrine.nwnk.net> | 2007-05-31 14:30:10 -0400 |
---|---|---|
committer | Adam Jackson <ajax@benzedrine.nwnk.net> | 2007-05-31 14:30:10 -0400 |
commit | c37fc13ea909a7a1315d3723ccac0e4146b3a0b2 (patch) | |
tree | 4779b26aa16fca0e5e96c42f69591fff2e66cff6 /src/gfx | |
parent | 0953a855c7d20186a8efb6db4842eb777f6e0e56 (diff) |
Add extra GCC warning fu. -Wall cleanup.
Diffstat (limited to 'src/gfx')
-rw-r--r-- | src/gfx/gfx_init.c | 2 | ||||
-rw-r--r-- | src/gfx/msr_rdcl.c | 4 | ||||
-rw-r--r-- | src/gfx/vid_rdcl.c | 10 |
3 files changed, 8 insertions, 8 deletions
diff --git a/src/gfx/gfx_init.c b/src/gfx/gfx_init.c index 469c70f..715153d 100644 --- a/src/gfx/gfx_init.c +++ b/src/gfx/gfx_init.c @@ -274,7 +274,7 @@ gfx_detect_cpu(void) value = gfx_pci_config_read(0x80000800); if (value == PCI_VENDOR_DEVICE_REDCLOUD) { - Q_WORD msr_value; + QQ_WORD msr_value; int valid, i; /* CHECK FOR SOFT VG */ diff --git a/src/gfx/msr_rdcl.c b/src/gfx/msr_rdcl.c index 548e8a4..2174a11 100644 --- a/src/gfx/msr_rdcl.c +++ b/src/gfx/msr_rdcl.c @@ -580,7 +580,7 @@ redcloud_msr_read(unsigned int device, unsigned int msrRegister, Q_WORD * msrValue) #else DEV_STATUS -gfx_msr_read(unsigned int device, unsigned int msrRegister, Q_WORD * msrValue) +gfx_msr_read(unsigned int device, unsigned int msrRegister, QQ_WORD * msrValue) #endif { if (device < NUM_DEVS) { @@ -618,7 +618,7 @@ redcloud_msr_write(unsigned int device, unsigned int msrRegister, #else DEV_STATUS gfx_msr_write(unsigned int device, unsigned int msrRegister, - Q_WORD * msrValue) + QQ_WORD * msrValue) #endif { if (device < NUM_DEVS) { diff --git a/src/gfx/vid_rdcl.c b/src/gfx/vid_rdcl.c index 7c98d2d..0aff629 100644 --- a/src/gfx/vid_rdcl.c +++ b/src/gfx/vid_rdcl.c @@ -254,7 +254,7 @@ void gfx_set_clock_frequency(unsigned long frequency) #endif { - Q_WORD msr_value, sys_value; + QQ_WORD msr_value, sys_value; unsigned long sys_low; unsigned int i, index = 0; unsigned long value; @@ -1632,7 +1632,7 @@ unsigned long gfx_get_clock_frequency(void) #endif { - Q_WORD msr_value; + QQ_WORD msr_value; unsigned int index; unsigned long value, mask = 0x00001FFF; unsigned long post_div3 = 0, pre_mult2 = 0; @@ -2310,7 +2310,7 @@ unsigned long gfx_read_crc(void) #endif { - Q_WORD msr_value; + QQ_WORD msr_value; unsigned long crc = 0xFFFFFFFF; /* DISABLE 32-BIT CRCS */ @@ -2359,7 +2359,7 @@ unsigned long gfx_read_crc32(void) #endif { - Q_WORD msr_value; + QQ_WORD msr_value; unsigned long crc = 0xFFFFFFFF; /* ENABLE 32-BIT CRCS */ @@ -2409,7 +2409,7 @@ gfx_read_window_crc(int source, unsigned short x, unsigned short y, unsigned short width, unsigned short height, int crc32) #endif { - Q_WORD msr_value; + QQ_WORD msr_value; unsigned long xpos, ypos, crc = 0; unsigned long old_fmt = 0; unsigned int vsync_active_base, vsync_inactive_base, hsync_active_base; |