From 5e48dcbeeb02f2e07f74f9e8394dcd425f03beb6 Mon Sep 17 00:00:00 2001 From: John Safranek Date: Thu, 1 Nov 2012 15:59:13 -0700 Subject: [PATCH] fixed build warning with Fortress build --- src/ssl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ssl.c b/src/ssl.c index 3ca8c2b4b..bcaf60f7b 100644 --- a/src/ssl.c +++ b/src/ssl.c @@ -6254,7 +6254,7 @@ int CyaSSL_set_compression(CYASSL* ssl) if (ssl != NULL && fname != NULL) { XFILE file = XBADFILE; - int sz = 0; + long sz = 0; byte staticBuffer[FILE_BUFFER_SIZE]; byte* myBuffer = staticBuffer; CYASSL_CTX* ctx = ssl->ctx;