mirror of
https://github.com/hashcat/hashcat.git
synced 2025-01-16 02:31:02 +00:00
Fix exec_path_len replacement on OSX
This commit is contained in:
parent
ae0300dabb
commit
d16b6228a6
@ -46,7 +46,7 @@ char *get_exec_path ()
|
|||||||
|
|
||||||
#elif defined (__APPLE__)
|
#elif defined (__APPLE__)
|
||||||
|
|
||||||
size_t size = exec_path_len;
|
u32 size = (u32) exec_path_len;
|
||||||
|
|
||||||
if (_NSGetExecutablePath (exec_path, &size) != 0)
|
if (_NSGetExecutablePath (exec_path, &size) != 0)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user