1
0
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:
Bryan Roe
2019-06-13 10:49:29 -07:00
parent 4451e12e7a
commit 68fd05d4c8

View File

@@ -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