1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2026-01-04 09:33:30 +00:00

Fixed compiler warnings

This commit is contained in:
Bryan Roe
2019-01-16 17:34:00 -08:00
parent 381baaf06a
commit 6cd91c5ab5
2 changed files with 3 additions and 1 deletions

View File

@@ -1960,7 +1960,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(buffer, &shctx);
SHA256_Final((unsigned char*)buffer, &shctx);
ILibDuktape_readableStream_WriteData(sender, buffer, bufferLen);
}
}