aboutsummaryrefslogtreecommitdiff
path: root/src/rps/gnunet-rps-profiler.c
diff options
context:
space:
mode:
authorJulius Bünger <buenger@mytum.de>2021-03-27 01:23:46 +0100
committerJulius Bünger <buenger@mytum.de>2021-03-27 01:23:46 +0100
commitb001bc189b7cb51aa8b41a2b9493530395e6a909 (patch)
treeb51a9477077ad04c6ecef0655c4b61b51d064339 /src/rps/gnunet-rps-profiler.c
parent33054bb2a8d6272e2f137e8be1833ff9e469c177 (diff)
downloadgnunet-b001bc189b7cb51aa8b41a2b9493530395e6a909.tar.gz
gnunet-b001bc189b7cb51aa8b41a2b9493530395e6a909.zip
-fix coverity issues wrt rps
Diffstat (limited to 'src/rps/gnunet-rps-profiler.c')
-rw-r--r--src/rps/gnunet-rps-profiler.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/rps/gnunet-rps-profiler.c b/src/rps/gnunet-rps-profiler.c
index 82aeffb79..908dcca17 100644
--- a/src/rps/gnunet-rps-profiler.c
+++ b/src/rps/gnunet-rps-profiler.c
@@ -3067,9 +3067,10 @@ run (void *cls,
3067 } 3067 }
3068 else 3068 else
3069 { 3069 {
3070 duration = GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 3070 duration = GNUNET_TIME_relative_multiply (
3071 (timeout.rel_value_us / 1000000) 3071 GNUNET_TIME_UNIT_SECONDS,
3072 * 0.75); 3072 ( (double) timeout.rel_value_us / (double) 1000000)
3073 * 0.75);
3073 } 3074 }
3074 } 3075 }
3075 else 3076 else