mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
Use daddr_t instead of u_long for byte offset in strategy
routine to avoid >4G truncation on 32-bit systems. no objection by: sparc64
This commit is contained in:
parent
69a8dff7af
commit
e2776725d7
1 changed files with 1 additions and 1 deletions
|
|
@ -70,7 +70,7 @@ ofwd_strategy(void *devdata, int flag, daddr_t dblk, size_t size, char *buf,
|
|||
size_t *rsize)
|
||||
{
|
||||
struct ofw_devdesc *dp = (struct ofw_devdesc *)devdata;
|
||||
unsigned long pos;
|
||||
daddr_t pos;
|
||||
int n;
|
||||
int i, j;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue