summaryrefslogtreecommitdiff
path: root/src/tools/cbr/cbr_server.c
diff options
context:
space:
mode:
authorSander Vrijders <sander.vrijders@intec.ugent.be>2016-12-03 15:02:33 +0000
committerSander Vrijders <sander.vrijders@intec.ugent.be>2016-12-03 15:02:33 +0000
commitd68efc18d65217afa8a0ad2f300697ee1088b44f (patch)
tree612b48f6f713c9447c15d6e43c8fe85175823c1d /src/tools/cbr/cbr_server.c
parent2e624e2f8e257dae0a997d921bcf79cc8144a142 (diff)
parent0334843d9f0a73f613e1dd20e30e6f3333d12d62 (diff)
downloadouroboros-d68efc18d65217afa8a0ad2f300697ee1088b44f.tar.gz
ouroboros-d68efc18d65217afa8a0ad2f300697ee1088b44f.zip
Merged in dstaesse/ouroboros/be-32bit (pull request #317)
ipcpd, tools: Fix compilation on 32 bit linux
Diffstat (limited to 'src/tools/cbr/cbr_server.c')
-rw-r--r--src/tools/cbr/cbr_server.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/cbr/cbr_server.c b/src/tools/cbr/cbr_server.c
index 52c2aa73..d4826e03 100644
--- a/src/tools/cbr/cbr_server.c
+++ b/src/tools/cbr/cbr_server.c
@@ -113,8 +113,8 @@ void handle_flow(int fd)
bytes_read - bytes_read_intv,
us / 1000,
((sdus - sdus_intv) / (double) us) * MILLION,
- 8 * (bytes_read - bytes_read_intv)
- / (double)(us));
+ 8 * ((bytes_read - bytes_read_intv)
+ / (double)(us)));
iv_start = iv_end;
sdus_intv = sdus;
bytes_read_intv = bytes_read;