[rtems commit] libcsupport: Use RTEMS_DECONST()
Sebastian Huber
sebh at rtems.org
Mon Sep 8 06:46:32 UTC 2014
Module: rtems
Branch: master
Commit: 8dab980932e196f87aac75795b428932609a0046
Changeset: http://git.rtems.org/rtems/commit/?id=8dab980932e196f87aac75795b428932609a0046
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Fri Sep 5 09:12:59 2014 +0200
libcsupport: Use RTEMS_DECONST()
---
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 72cdca3..294e14a 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;
More information about the vc
mailing list