~mdw
/
catacomb
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
utils/advmodes, utils/gcm-ref: Make conversions from `int' to `GF' explicit.
[catacomb]
/
rand
/
grand.c
diff --git
a/rand/grand.c
b/rand/grand.c
index
e445191
..
a95c89f
100644
(file)
--- a/
rand/grand.c
+++ b/
rand/grand.c
@@
-97,6
+97,7
@@
uint32 grand_defaultrange(grand *r, uint32 l)
* @byte@, but by that point it must be able to satisfy us.
*/
+ assert(l);
if (r->ops->max && r->ops->max >= l) {
w = r->ops->raw;
m = r->ops->max;