aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/apsi/fix-c2398.patch
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/apsi/fix-c2398.patch
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/apsi/fix-c2398.patch')
-rw-r--r--vcpkg/ports/apsi/fix-c2398.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/vcpkg/ports/apsi/fix-c2398.patch b/vcpkg/ports/apsi/fix-c2398.patch
new file mode 100644
index 0000000..b044e14
--- /dev/null
+++ b/vcpkg/ports/apsi/fix-c2398.patch
@@ -0,0 +1,15 @@
+diff --git a/sender/apsi/util/cuckoo_filter.cpp b/sender/apsi/util/cuckoo_filter.cpp
+index be5aead..e242796 100644
+--- a/sender/apsi/util/cuckoo_filter.cpp
++++ b/sender/apsi/util/cuckoo_filter.cpp
+@@ -246,8 +246,8 @@ CuckooFilter CuckooFilter::Load(istream &in, size_t &bytes_read)
+
+ bytes_read = in_data.size();
+ return CuckooFilter{ move(cuckoo_filter_table),
+- cuckoo_filter_fbs->num_items(),
+- cuckoo_filter_fbs->overflow()->index(),
++ static_cast<size_t>(cuckoo_filter_fbs->num_items()),
++ static_cast<size_t>(cuckoo_filter_fbs->overflow()->index()),
+ cuckoo_filter_fbs->overflow()->tag(),
+ cuckoo_filter_fbs->overflow()->used() };
+ }