diff options
Diffstat (limited to 'lib/rand.c')
-rw-r--r-- | lib/rand.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/rand.c b/lib/rand.c index 342796513..0e716a77c 100644 --- a/lib/rand.c +++ b/lib/rand.c @@ -113,10 +113,11 @@ static CURLcode randit(struct Curl_easy *data, unsigned int *rnd) * */ -CURLcode Curl_rand(struct Curl_easy *data, unsigned int *rndptr, int num) +CURLcode Curl_rand(struct Curl_easy *data, unsigned int *rndptr, + unsigned int num) { CURLcode result = CURLE_BAD_FUNCTION_ARGUMENT; - int i; + unsigned int i; assert(num > 0); |