From b505285ae2f111058f3d6b4f2e609b8cddf8f3bc Mon Sep 17 00:00:00 2001
From: Mark Rogers <mark.rogers@powermapper.com>
Date: Thu, 19 Jan 2017 17:35:12 +0000
Subject: [PATCH] PoDoFo: fix warning

---
 Electrum/Mapper/Libs/podofo/test/unit/EncryptTest.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Electrum/Mapper/Libs/podofo/test/unit/EncryptTest.cpp b/Electrum/Mapper/Libs/podofo/test/unit/EncryptTest.cpp
index 1847209..5389e73 100644
--- a/Electrum/Mapper/Libs/podofo/test/unit/EncryptTest.cpp
+++ b/Electrum/Mapper/Libs/podofo/test/unit/EncryptTest.cpp
@@ -196,7 +196,7 @@ void EncryptTest::TestEncrypt( PdfEncrypt* pEncrypt )
 {
     pEncrypt->SetCurrentReference( PdfReference( 7, 0 ) );
     
-    int nOutputLen = pEncrypt->CalculateStreamLength(m_lLen);
+    pdf_long nOutputLen = pEncrypt->CalculateStreamLength(m_lLen);
 
     unsigned char *pEncryptedBuffer = new unsigned char[nOutputLen];
     unsigned char *pDecryptedBuffer = new unsigned char[m_lLen];
-- 
2.2.1

