summaryrefslogtreecommitdiff
path: root/veracrypt/debian/patches/1002-fix-ftbfs-32bit.patch
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2024-09-03 11:31:06 -0400
committerB. Stack <bgstack15@gmail.com>2024-09-03 11:31:06 -0400
commit042772a90daf1620e1cc48abbdaadea7c252d2f6 (patch)
tree49d7511b2d0617ee38f4a46c429f5913b37d0a12 /veracrypt/debian/patches/1002-fix-ftbfs-32bit.patch
parentscite 5.5.2 rc1 (diff)
downloadstackrpms-042772a90daf1620e1cc48abbdaadea7c252d2f6.tar.gz
stackrpms-042772a90daf1620e1cc48abbdaadea7c252d2f6.tar.bz2
stackrpms-042772a90daf1620e1cc48abbdaadea7c252d2f6.zip
veracrypt 1.24.14
Diffstat (limited to 'veracrypt/debian/patches/1002-fix-ftbfs-32bit.patch')
-rw-r--r--veracrypt/debian/patches/1002-fix-ftbfs-32bit.patch33
1 files changed, 0 insertions, 33 deletions
diff --git a/veracrypt/debian/patches/1002-fix-ftbfs-32bit.patch b/veracrypt/debian/patches/1002-fix-ftbfs-32bit.patch
deleted file mode 100644
index 9cd566f..0000000
--- a/veracrypt/debian/patches/1002-fix-ftbfs-32bit.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-From bd843ffa05147aab80e38ee668b0556302d2bfc9 Mon Sep 17 00:00:00 2001
-From: Mounir IDRASSI <mounir.idrassi@idrix.fr>
-Date: Mon, 2 Oct 2023 18:02:33 +0200
-Subject: [PATCH] Linux: Fix compilation error on some 32-bit machines.
-
----
- src/Common/PCSCException.cpp | 7 +++++--
- 1 file changed, 5 insertions(+), 2 deletions(-)
-
-diff --git a/src/Common/PCSCException.cpp b/src/Common/PCSCException.cpp
-index 93fff18187..dc5eead323 100644
---- a/src/Common/PCSCException.cpp
-+++ b/src/Common/PCSCException.cpp
-@@ -140,14 +140,17 @@ namespace VeraCrypt
- {
- Exception::Deserialize(stream);
- Serializer sr(stream);
-- sr.Deserialize("ErrorCode", ErrorCode);
-+ int64 v;
-+ sr.Deserialize("ErrorCode", v);
-+ ErrorCode = (LONG_PCSC)v;
- }
-
- void PCSCException::Serialize(shared_ptr <Stream> stream) const
- {
- Exception::Serialize(stream);
- Serializer sr(stream);
-- sr.Serialize("ErrorCode", ErrorCode);
-+ int64 v = (int64)ErrorCode;
-+ sr.Serialize("ErrorCode", v);
- }
-
- # define TC_EXCEPTION(TYPE) TC_SERIALIZER_FACTORY_ADD(TYPE)
bgstack15