projects
/
oweals
/
gnunet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use more-or-equal (some machines are fast enough)
[oweals/gnunet.git]
/
src
/
scalarproduct
/
gnunet-scalarproduct.c
diff --git
a/src/scalarproduct/gnunet-scalarproduct.c
b/src/scalarproduct/gnunet-scalarproduct.c
index 5fabb7f6ef8db9b3ef86d703e5ab789a0c92bb2f..012ce91b8c2d043d0d92c7dbf7904ac724842925 100644
(file)
--- a/
src/scalarproduct/gnunet-scalarproduct.c
+++ b/
src/scalarproduct/gnunet-scalarproduct.c
@@
-307,7
+307,7
@@
run (void *cls,
}
while (1);
- mask_bytes = element_count / 8 + (
element_count % 8
? 1 : 0);
+ mask_bytes = element_count / 8 + (
(element_count % 8)
? 1 : 0);
mask = GNUNET_malloc ((element_count / 8) + 1);
/* Read input_mask_peer1 and read in mask_peer1 array */