Don't cast an int * to a size_t *
authorMatt Caswell <matt@openssl.org>
Mon, 10 Sep 2018 15:03:14 +0000 (16:03 +0100)
committerMatt Caswell <matt@openssl.org>
Mon, 10 Sep 2018 16:23:36 +0000 (17:23 +0100)
commit52307f94f8f3e5a1cd392f0a48802a24ccf73ba2
treea7fd3059a0265702f63477de5771505c935c20ef
parent6ccfc8fa316f8dcfe4c943e5a43e9e3661be9cb1
Don't cast an int * to a size_t *

If sizeof(int) != sizeof(size_t) this may not work correctly.

Fixes a Coverity issue.

Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/7168)
apps/speed.c