Skip to content

Commit

Permalink
Merge pull request #234 from michelboaventura/fix_crypt_r
Browse files Browse the repository at this point in the history
Fix crypt_r definition
  • Loading branch information
tenderlove committed Sep 2, 2020
2 parents 9f3fb05 + 77fa85d commit 32469cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/mri/wrapper.c
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ char *crypt_ra(const char *key, const char *setting,
return _crypt_blowfish_rn(key, setting, (char *)*data, *size);
}

char *crypt_r(const char *key, const char *setting, void *data)
char *crypt_r(const char *key, const char *setting, struct crypt_data *data)
{
return _crypt_retval_magic(
crypt_rn(key, setting, data, CRYPT_OUTPUT_SIZE),
Expand Down

0 comments on commit 32469cc

Please sign in to comment.