mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-21 01:58:44 +08:00
libcsupport: Use RTEMS_DECONST()
This commit is contained in:
@@ -101,7 +101,7 @@ ssize_t rtems_deviceio_write(
|
||||
|
||||
args.iop = iop;
|
||||
args.offset = iop->offset;
|
||||
args.buffer = buf;
|
||||
args.buffer = RTEMS_DECONST( void *, buf );
|
||||
args.count = nbyte;
|
||||
args.flags = iop->flags;
|
||||
args.bytes_moved = 0;
|
||||
|
||||
Reference in New Issue
Block a user