summaryrefslogtreecommitdiff
path: root/device
diff options
context:
space:
mode:
Diffstat (limited to 'device')
-rw-r--r--device/ds_routines.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/device/ds_routines.c b/device/ds_routines.c
index ee575e5..d62be2b 100644
--- a/device/ds_routines.c
+++ b/device/ds_routines.c
@@ -1274,9 +1274,9 @@ boolean_t ds_read_done(ior)
* Zero memory that the device did not fill.
*/
if (start_sent < start_data)
- memset((char *)start_sent, 0, start_data - start_sent);
+ memset((void *)start_sent, 0, start_data - start_sent);
if (end_sent > end_data)
- memset((char *)end_data, 0, end_sent - end_data);
+ memset((void *)end_data, 0, end_sent - end_data);
/*