summaryrefslogtreecommitdiff
path: root/token.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2003-10-13 23:46:08 +0000
committerWayne Davison <wayned@samba.org>2003-10-13 23:46:08 +0000
commit2a88a8cd30aaf37cb677beaab67638815130c841 (patch)
treed75ed0e8cd16e95de2ce1e967e3ed4f04616de33 /token.c
parent8a97fc2e1b46a06e2a320704b6eeccc41175a78c (diff)
downloadrsync-2a88a8cd30aaf37cb677beaab67638815130c841.tar.gz
rsync-2a88a8cd30aaf37cb677beaab67638815130c841.tar.bz2
rsync-2a88a8cd30aaf37cb677beaab67638815130c841.zip
Fixed an operator-precedence problem in the batch-mode code.
Diffstat (limited to 'token.c')
-rw-r--r--token.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/token.c b/token.c
index bb77cfb6..8f498f1f 100644
--- a/token.c
+++ b/token.c
@@ -211,7 +211,7 @@ send_deflated_token(int f, int token,
write_byte(f, n >> 8);
if (write_batch) {
write_batch_delta_file((char *)&n,sizeof(char));
- temp_byte = (char) n >> 8;
+ temp_byte = (char)(n >> 8);
write_batch_delta_file(&temp_byte,sizeof(temp_byte));
}
}