aboutsummaryrefslogtreecommitdiffstats
path: root/erts
diff options
context:
space:
mode:
authorMicael Karlberg <[email protected]>2019-04-05 15:18:59 +0200
committerMicael Karlberg <[email protected]>2019-04-17 16:56:33 +0200
commit5d615169a0854231c99f4a39d5c4033e58134ae1 (patch)
treeb063371e34c7940b96adc91088fe6b87b26f0b9c /erts
parent9f9d59bc9fb6883a4a0e41b4aa6c72f39300ed91 (diff)
downloadotp-5d615169a0854231c99f4a39d5c4033e58134ae1.tar.gz
otp-5d615169a0854231c99f4a39d5c4033e58134ae1.tar.bz2
otp-5d615169a0854231c99f4a39d5c4033e58134ae1.zip
[socket] Type mania
Why can't we all just get along? Casting to shut the compiler up.
Diffstat (limited to 'erts')
-rw-r--r--erts/emulator/nifs/common/socket_nif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/nifs/common/socket_nif.c b/erts/emulator/nifs/common/socket_nif.c
index 1b9a657214..b48f0e05d4 100644
--- a/erts/emulator/nifs/common/socket_nif.c
+++ b/erts/emulator/nifs/common/socket_nif.c
@@ -8308,7 +8308,7 @@ ERL_NIF_TERM nsetopt_lvl_ip_msfilter(ErlNifEnv* env,
return esock_make_error(env, esock_atom_einval);
}
- if (!decode_ip_msfilter_mode(env, eFMode, &msfP->imsf_fmode)) {
+ if (!decode_ip_msfilter_mode(env, eFMode, (Uint32*) &msfP->imsf_fmode)) {
FREE(msfP);
return esock_make_error(env, esock_atom_einval);
}