3dfx: Fix invalid type cast on 64bit
Signed-off-by: Jaroslaw Pelczar <[email protected]> Change-Id: Iba685cca20c31c91c8931d25e0f86ac9c9bef6bb Reviewed-on: https://review.haiku-os.org/c/haiku/+/1779 Reviewed-by: waddlesplash <[email protected]>
This commit is contained in:
committed by
waddlesplash
parent
5d1791071e
commit
458e37756b
@@ -100,7 +100,7 @@ TDFX_DisplayOverlay(const overlay_window* window,
|
||||
// Add width of overlay buffer to stride.
|
||||
uint32 stride = INREG32(VIDEO_DESKTOP_OVERLAY_STRIDE) & 0x0000ffff;
|
||||
stride |= (buffer->width << 1) << 16;
|
||||
uint32 offset = (uint32)buffer->buffer_dma;
|
||||
uint32 offset = (uint32)(addr_t)buffer->buffer_dma;
|
||||
|
||||
TDFX_WaitForFifo(2);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user