diff options
author | Lukas Larsson <[email protected]> | 2018-12-03 14:42:15 +0100 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2018-12-03 14:42:15 +0100 |
commit | 7515f713da271618c688de768f1586280fcc9635 (patch) | |
tree | 0b139876b58ecc12ba21727138db9459fc19227d /erts/emulator/nifs | |
parent | 28d77314ceb96cda8f270eccaa60af625bbe0e76 (diff) | |
parent | 0d24aecf46f9f387d64f06744f8a55b841669d1e (diff) | |
download | otp-7515f713da271618c688de768f1586280fcc9635.tar.gz otp-7515f713da271618c688de768f1586280fcc9635.tar.bz2 otp-7515f713da271618c688de768f1586280fcc9635.zip |
Merge branch 'maint'
Diffstat (limited to 'erts/emulator/nifs')
-rw-r--r-- | erts/emulator/nifs/common/prim_file_nif.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/nifs/common/prim_file_nif.c b/erts/emulator/nifs/common/prim_file_nif.c index 0ada345442..0b5eccbde2 100644 --- a/erts/emulator/nifs/common/prim_file_nif.c +++ b/erts/emulator/nifs/common/prim_file_nif.c @@ -936,7 +936,7 @@ static ERL_NIF_TERM set_permissions_nif(ErlNifEnv *env, int argc, const ERL_NIF_ posix_errno_t posix_errno; efile_path_t path; - Uint32 permissions; + Uint permissions; ASSERT(argc == 2); if(!enif_get_uint(env, argv[1], &permissions)) { @@ -956,7 +956,7 @@ static ERL_NIF_TERM set_owner_nif(ErlNifEnv *env, int argc, const ERL_NIF_TERM a posix_errno_t posix_errno; efile_path_t path; - Sint32 uid, gid; + Sint uid, gid; ASSERT(argc == 3); if(!enif_get_int(env, argv[1], &uid) || !enif_get_int(env, argv[2], &gid)) { |