1
0
Files
chromium-beta/chromium-132-pdfium-explicit-template.patch
Ruediger Oertel 4f00b34d4e (split off to only apply after the reverse)
* chromium-132-old_libdrm.patch
    (applied only on 15.5 with libdrm < 2.4.116)
  * chromium-132-pdfium-explicit-template.patch
    (error: alias template requires template arguments)

OBS-URL: https://build.opensuse.org/package/show/network:chromium/chromium-beta?expand=0&rev=100
2024-12-03 16:52:05 +00:00

12 lines
607 B
Diff

--- chromium-132.0.6834.15/pdf/pdfium/pdfium_api_wrappers.cc 2024/12/03 16:47:07 1.1
+++ chromium-132.0.6834.15/pdf/pdfium/pdfium_api_wrappers.cc 2024/12/03 16:48:54
@@ -147,7 +147,7 @@
// Number of characters, including the NUL.
const size_t expected_size = base::checked_cast<size_t>(buflen_bytes / 2);
- PDFiumAPIStringBufferAdapter adapter(&name, expected_size,
+ PDFiumAPIStringBufferAdapter<std::u16string> adapter(&name, expected_size,
/*check_expected_size=*/true);
unsigned long actual_buflen_bytes = 0; // NOLINT(runtime/int)
bool result =