projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
Merge of Jake's work.
[m6w6/libmemcached]
/
clients
/
generator.c
diff --git
a/clients/generator.c
b/clients/generator.c
index cd1a17bfe71059fceb49fff382b7975220284b35..5bce0301ab6ae848f9315ea5b85c186210c8f30a 100644
(file)
--- a/
clients/generator.c
+++ b/
clients/generator.c
@@
-49,7
+49,7
@@
pairs_st *pairs_generate(uint64_t number_of, size_t value_length)
unsigned int x;
pairs_st *pairs;
- pairs= (pairs_st*)calloc(number_of + 1, sizeof(pairs_st));
+ pairs= (pairs_st*)calloc(
(size_t)
number_of + 1, sizeof(pairs_st));
if (!pairs)
goto error;