summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2014-08-21 10:19:26 -0400
committerNick Mathewson <nickm@torproject.org>2014-08-21 10:19:26 -0400
commit2a0a5fe6123bd87f996814991641cc404601ea55 (patch)
tree3f9511c9cbb39231850881bf970fbb9d09c27807 /src/common
parentb6a725c67e46d274a518b6c5243fffdf1730a23f (diff)
downloadtor-2a0a5fe6123bd87f996814991641cc404601ea55.tar.gz
tor-2a0a5fe6123bd87f996814991641cc404601ea55.zip
Explicitly cast when dividing ints then implicitly casting to double.
Coverity thinks that when we do "double x = int1/int2;", we probably meant "double x = ((double)int1) / int2;". In these cases, we didn't. [Coverity CID 1232089 and 1232090]
Diffstat (limited to 'src/common')
0 files changed, 0 insertions, 0 deletions