diff options
Diffstat (limited to 'src/savage_dga.c')
-rw-r--r-- | src/savage_dga.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/savage_dga.c b/src/savage_dga.c index 92a179e..1c4d884 100644 --- a/src/savage_dga.c +++ b/src/savage_dga.c @@ -390,7 +390,7 @@ Savage_OpenFramebuffer( SavagePtr psav = SAVPTR(pScrn); *name = NULL; /* no special device */ - *mem = (unsigned char*)(int) psav->FbRegion.base; + *mem = (unsigned char*)(uintptr_t) psav->FbRegion.base; *size = psav->videoRambytes; *offset = 0; *flags = DGA_NEED_ROOT; |