Skip to content
Snippets Groups Projects
Commit f4e51990 authored by Nick Mathewson's avatar Nick Mathewson :game_die:
Browse files

Merge remote-tracking branch 'rl1987/bug26283'

parents b2470f51 9876575d
No related branches found
No related tags found
No related merge requests found
o Minor bugfixes (C correctness):
- Avoid casting return value of smartlist_len() to double as
compiler does not like it when -Wbad-function-cast is on.
Fixes bug 26283; bugfix on 0.2.4.10-alpha.
......@@ -2764,7 +2764,7 @@ frac_nodes_with_descriptors(const smartlist_t *sl,
if (node_has_any_descriptor(node))
n_with_descs++;
});
return ((double)n_with_descs) / (double)smartlist_len(sl);
return ((double)n_with_descs) / smartlist_len(sl);
}
present = 0.0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment