]> granicus.if.org Git - curl/commitdiff
axtls: fix conversion from size_t to int warning
authorDaniel Stenberg <daniel@haxx.se>
Fri, 6 Feb 2015 13:04:16 +0000 (14:04 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 6 Feb 2015 13:26:32 +0000 (14:26 +0100)
lib/vtls/axtls.c

index 1e511a2c72360e897ad087724f04e79a62d7beed..bcfe62b4dc85d519cb2b130379edc867bd19c95f 100644 (file)
@@ -671,7 +671,7 @@ int Curl_axtls_random(struct SessionHandle *data,
      * race condition is that some global resources will leak. */
     RNG_initialize();
   }
-  get_random(length, entropy);
+  get_random((int)length, entropy);
   return 0;
 }