mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-21 03:13:42 +08:00
correct casting
This commit is contained in:
parent
14b399f803
commit
327731852e
@ -667,7 +667,7 @@ done:
|
||||
pxp->bf_rflags |= rflags;
|
||||
pxp->bf_refcount++;
|
||||
|
||||
*vpp = (char *)pxp->bf_base + diff;
|
||||
*vpp = (void *)((char *)pxp->bf_base + diff);
|
||||
return ENOERR;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user