mirror of
https://github.com/Ylianst/MeshAgent
synced 2025-12-29 06:33:22 +00:00
Fixed linux compiler warning
This commit is contained in:
@@ -832,7 +832,7 @@ duk_ret_t ILibDuktape_Process_cwd(duk_context *ctx)
|
||||
duk_push_string(ctx, ILibScratchPad);
|
||||
return(1);
|
||||
#elif defined(_POSIX)
|
||||
getcwd(ILibScratchPad, sizeof(ILibScratchPad));
|
||||
ignore_result((uint64_t)getcwd(ILibScratchPad, sizeof(ILibScratchPad)));
|
||||
duk_push_string(ctx, ILibScratchPad);
|
||||
return(1);
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user