aboutsummaryrefslogtreecommitdiff
path: root/gdb/ser-e7kpc.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/ser-e7kpc.c')
-rw-r--r--gdb/ser-e7kpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/ser-e7kpc.c b/gdb/ser-e7kpc.c
index 8be5db9..fae0859 100644
--- a/gdb/ser-e7kpc.c
+++ b/gdb/ser-e7kpc.c
@@ -300,7 +300,7 @@ dosasync_write (fd, buf, len)
((short *)dummy)[3] = 0;
for (i = 0; i < len ; i++)
{
- dummy[8 + i ^ 1] = buf[i];
+ dummy[(8 + i) ^ 1] = buf[i];
}
/* Wait for the card to get ready */