1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2026-02-19 19:03:31 +00:00

Fixed compiler warnings

This commit is contained in:
Bryan Roe
2019-01-18 15:28:28 -08:00
parent e5600ea6b0
commit f65a5935dd
2 changed files with 3 additions and 3 deletions

View File

@@ -1955,7 +1955,7 @@ void ILibDuktape_dataGenerator_onResume(struct ILibDuktape_readableStream *sende
SHA256_Init(&shctx);
SHA256_Update(&shctx, buffer + UTIL_SHA256_HASHSIZE, bufferLen - UTIL_SHA256_HASHSIZE);
SHA256_Final((unsigned char*)buffer, &shctx);
ILibDuktape_readableStream_WriteData(sender, buffer, bufferLen);
ILibDuktape_readableStream_WriteData(sender, buffer, (int)bufferLen);
}
}
duk_ret_t ILibDuktape_dataGenerator_const(duk_context *ctx)