mirror of
https://github.com/Ylianst/MeshAgent
synced 2026-01-03 17:13:16 +00:00
Fixed compiler warnings
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -28,6 +28,8 @@ limitations under the License.
|
||||
#define ILibDuktape_readableStream_WritePipes_Stream "\xFF_WritePipes_Stream"
|
||||
#define ILibDuktape_readableStream_PipeArray "\xFF_RS_PipeArray"
|
||||
|
||||
int ILibDuktape_readableStream_resume_flush(ILibDuktape_readableStream *rs);
|
||||
|
||||
#ifdef __DOXY__
|
||||
/*!
|
||||
\implements EventEmitter
|
||||
|
||||
Reference in New Issue
Block a user