From: Wayne Davison Date: Mon, 13 Oct 2003 23:46:08 +0000 (+0000) Subject: Fixed an operator-precedence problem in the batch-mode code. X-Git-Tag: v2.5.7~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2a88a8cd30aaf37cb677beaab67638815130c841;p=thirdparty%2Frsync.git Fixed an operator-precedence problem in the batch-mode code. --- 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)); } }