summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 fc7cde9..e370503 100644
--- a/device/ds_routines.c
+++ b/device/ds_routines.c
@@ -1137,8 +1137,8 @@ boolean_t ds_read_done(ior)
register int c;
for (touch = start_sent; touch < end_sent; touch += PAGE_SIZE) {
- c = *(char *)touch;
- *(char *)touch = c;
+ c = *(volatile char *)touch;
+ *(volatile char *)touch = c;
}
}