projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
Merging Trond, also fixed make test.
[awesomized/libmemcached]
/
tests
/
atomsmasher.c
diff --git
a/tests/atomsmasher.c
b/tests/atomsmasher.c
index 500e2e8e1aaec308c39a541dad30ad6609344587..65a31dd4404f09344fcb999ada6e8b0f11c9eea1 100644
(file)
--- a/
tests/atomsmasher.c
+++ b/
tests/atomsmasher.c
@@
-73,8
+73,8
@@
infinite:
uint32_t test_bit;
uint8_t which;
- test_bit=
random() % GLOBAL_COUNT
;
- which=
random() % 2
;
+ test_bit=
(uint32_t)(random() % GLOBAL_COUNT)
;
+ which=
(uint8_t)(random() % 2)
;
if (which == 0)
{