mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-01 03:34:39 +02:00
wolfcrypt/src/wc_port.c: in wc_FileLoad(), use ssize_t for fileSz, not long int, for portability.
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user