mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
20 lines
860 B
Diff
20 lines
860 B
Diff
|
diff --git a/test/unit/EncryptTest.cpp b/test/unit/EncryptTest.cpp index e0b4801..3355175 100644
|
||
|
--- a/test/unit/EncryptTest.cpp
|
||
|
+++ b/test/unit/EncryptTest.cpp
|
||
|
@@ -326,9 +326,9 @@ void EncryptTest::testEnableAlgorithms()
|
||
|
|
||
|
PdfObject object;
|
||
|
object.GetDictionary().AddKey(PdfName("Filter"), PdfName("Standard"));
|
||
|
- object.GetDictionary().AddKey(PdfName("V"), 4L);
|
||
|
- object.GetDictionary().AddKey(PdfName("R"), 4L);
|
||
|
- object.GetDictionary().AddKey(PdfName("P"), 1L);
|
||
|
+ object.GetDictionary().AddKey(PdfName("V"), static_cast<pdf_int64>(4L));
|
||
|
+ object.GetDictionary().AddKey(PdfName("R"), static_cast<pdf_int64>(4L));
|
||
|
+ object.GetDictionary().AddKey(PdfName("P"), static_cast<pdf_int64>(1L));
|
||
|
object.GetDictionary().AddKey(PdfName("O"), PdfString(""));
|
||
|
object.GetDictionary().AddKey(PdfName("U"), PdfString(""));
|
||
|
|
||
|
|
||
|
|
||
|
|