fix build on 32-bit platforms for r221803
Casting a pointer to a wide integer is probably not that bad, but I am still guilty of not testing this. Pointyhat to: avg MFC after: 1 week X-MFC with: r221803
This commit is contained in:
parent
ff6f41a472
commit
76dc2afdc7
@ -2255,7 +2255,7 @@ dsp_mmap_single(struct cdev *i_dev, vm_ooffset_t *offset,
|
||||
if (rdch != NULL)
|
||||
rdch->flags |= CHN_F_MMAP;
|
||||
|
||||
*offset = (vm_ooffset_t)sndbuf_getbufofs(c->bufsoft, *offset);
|
||||
*offset = (uintptr_t)sndbuf_getbufofs(c->bufsoft, *offset);
|
||||
relchns(i_dev, rdch, wrch, SD_F_PRIO_RD | SD_F_PRIO_WR);
|
||||
*object = vm_pager_allocate(OBJT_DEVICE, i_dev,
|
||||
size, nprot, *offset, curthread->td_ucred);
|
||||
|
Loading…
x
Reference in New Issue
Block a user