test/params_api_test.c: fix size_t assumptions
authorRichard Levitte <levitte@openssl.org>
Sat, 16 Mar 2019 09:43:48 +0000 (10:43 +0100)
committerRichard Levitte <levitte@openssl.org>
Sun, 17 Mar 2019 08:13:29 +0000 (09:13 +0100)
commitf7f2a55aeee12926a7080d75d38f03467eb1ac44
treeb41764959e8b34ffdce34b4e787bbf31b77b17ed
parent16161a30f2d432dc851a67d0ba24c0fa738e0767
test/params_api_test.c: fix size_t assumptions

size_t isn't always as large as a int64_t, so the compiler complains
about possible data loss.  In this case, we are in control, so a
simple cast will do.

Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
(Merged from https://github.com/openssl/openssl/pull/8497)
test/params_api_test.c