mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-06-02 13:41:37 +00:00
use correct conversion function
This commit is contained in:
parent
e60c1aa1d7
commit
331556d309
|
@ -375,7 +375,7 @@ static bool do_get_finfo(const char *path, bool has_fxinfo,
|
||||||
memset(emu_finfo, 0, SIZEOF_FInfo);
|
memset(emu_finfo, 0, SIZEOF_FInfo);
|
||||||
if (has_fxinfo)
|
if (has_fxinfo)
|
||||||
memset(emu_fxinfo, 0, SIZEOF_FXInfo);
|
memset(emu_fxinfo, 0, SIZEOF_FXInfo);
|
||||||
*((uint16 *)(emu_finfo + fdFlags)) = htonl(DEFAULT_FINDER_FLAGS);
|
*((uint16 *)(emu_finfo + fdFlags)) = htons(DEFAULT_FINDER_FLAGS);
|
||||||
*((uint32 *)(emu_finfo + fdLocation)) = htonl((uint32)-1);
|
*((uint32 *)(emu_finfo + fdLocation)) = htonl((uint32)-1);
|
||||||
|
|
||||||
if (USE_XATTRS)
|
if (USE_XATTRS)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user