wolfcrypt/src/wc_port.c: in wc_FileLoad(), use ssize_t for fileSz, not long int, for portability.

This commit is contained in:
Daniel Pouzzner
2023-04-18 14:30:38 -05:00
parent b87c2fc621
commit f1a674eec9

View File

@@ -488,7 +488,7 @@ int wc_FileLoad(const char* fname, unsigned char** buf, size_t* bufLen,
void* heap)
{
int ret;
long int fileSz;
ssize_t fileSz;
XFILE f;
if (fname == NULL || buf == NULL || bufLen == NULL) {