aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorPetr Gotthard <[email protected]>2016-07-30 12:21:39 -0700
committerPetr Gotthard <[email protected]>2016-07-30 12:21:39 -0700
commit9a98a20987253410e096292b07b877e1cbd62b7f (patch)
tree936c25c90c0681f0a6b9e27c33fa3e7b8a016344 /lib
parent1cdaf0a6fd8dbbf08fe88dd148424df4da683f48 (diff)
downloadotp-9a98a20987253410e096292b07b877e1cbd62b7f.tar.gz
otp-9a98a20987253410e096292b07b877e1cbd62b7f.tar.bz2
otp-9a98a20987253410e096292b07b877e1cbd62b7f.zip
Fix building crypto/cmac_nif on 64-bit machines.
Diffstat (limited to 'lib')
-rw-r--r--lib/crypto/c_src/crypto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/crypto/c_src/crypto.c b/lib/crypto/c_src/crypto.c
index 240bfc8341..5270c9131e 100644
--- a/lib/crypto/c_src/crypto.c
+++ b/lib/crypto/c_src/crypto.c
@@ -1362,7 +1362,7 @@ static ERL_NIF_TERM cmac_nif(ErlNifEnv* env, int argc, const ERL_NIF_TERM argv[]
ErlNifBinary key;
ErlNifBinary data;
ERL_NIF_TERM ret;
- unsigned ret_size;
+ size_t ret_size;
if (!enif_inspect_iolist_as_binary(env, argv[1], &key)
|| !(cipherp = get_cipher_type(argv[0], key.size))