summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKevin Brace <kevinbrace@gmx.com>2020-04-01 08:15:49 -0700
committerKevin Brace <kevinbrace@gmx.com>2020-04-01 09:45:37 -0700
commit23f1e4a364db5c92a7c548f515e385368b3c6e4a (patch)
tree137bcf34a70c5c29b834e5d935a507b76e2b7821 /src
parentf32f4762ab68c3283814c07feb18ca3d6865e98c (diff)
Eliminate variable type compilation warning in 64-bit environment
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
Diffstat (limited to 'src')
-rw-r--r--src/via_display.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/via_display.c b/src/via_display.c
index 40e4274..53dbd33 100644
--- a/src/via_display.c
+++ b/src/via_display.c
@@ -1189,7 +1189,7 @@ viaIGA1SetFBStartingAddress(xf86CrtcPtr crtc, int x, int y)
vgaHWPtr hwp = VGAHWPTR(pScrn);
drmmode_crtc_private_ptr drmmode_crtc = crtc->driver_private;
drmmode_ptr drmmode = drmmode_crtc->drmmode;
- CARD32 Base;
+ unsigned long Base;
#ifdef HAVE_DEBUG
CARD8 cr0c, cr0d, cr34, cr48;
#endif
@@ -2341,7 +2341,8 @@ viaIGA2SetFBStartingAddress(xf86CrtcPtr crtc, int x, int y)
vgaHWPtr hwp = VGAHWPTR(pScrn);
drmmode_crtc_private_ptr drmmode_crtc = crtc->driver_private;
drmmode_ptr drmmode = drmmode_crtc->drmmode;
- CARD32 Base, tmp;
+ unsigned long Base;
+ unsigned long tmp;
#ifdef HAVE_DEBUG
CARD8 cr62, cr63, cr64, cra3;
#endif