diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-09-05 09:12:59 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-09-08 07:53:02 +0200 |
commit | 8dab980932e196f87aac75795b428932609a0046 (patch) | |
tree | 3be1d8be7b1a897b69d1b1f97d350844f91868cf | |
parent | libchip/dwmac: Use RTEMS_DEVOLATILE() (diff) | |
download | rtems-8dab980932e196f87aac75795b428932609a0046.tar.bz2 |
libcsupport: Use RTEMS_DECONST()
-rw-r--r-- | cpukit/libcsupport/src/sup_fs_deviceio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libcsupport/src/sup_fs_deviceio.c b/cpukit/libcsupport/src/sup_fs_deviceio.c index 72cdca3cb2..294e14a260 100644 --- a/cpukit/libcsupport/src/sup_fs_deviceio.c +++ b/cpukit/libcsupport/src/sup_fs_deviceio.c @@ -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; |