Fixed an operator-precedence problem in the batch-mode code.
authorWayne Davison <wayned@samba.org>
Mon, 13 Oct 2003 23:46:08 +0000 (23:46 +0000)
committerWayne Davison <wayned@samba.org>
Mon, 13 Oct 2003 23:46:08 +0000 (23:46 +0000)
token.c

diff --git a/token.c b/token.c
index bb77cfb..8f498f1 100644 (file)
--- 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));
                        }
                }