aboutsummaryrefslogtreecommitdiff
path: root/devel/kf6-kfilemetadata/files/patch-src_extractors_plaintextextractor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'devel/kf6-kfilemetadata/files/patch-src_extractors_plaintextextractor.cpp')
-rw-r--r--devel/kf6-kfilemetadata/files/patch-src_extractors_plaintextextractor.cpp20
1 files changed, 0 insertions, 20 deletions
diff --git a/devel/kf6-kfilemetadata/files/patch-src_extractors_plaintextextractor.cpp b/devel/kf6-kfilemetadata/files/patch-src_extractors_plaintextextractor.cpp
deleted file mode 100644
index 243b9aa5d7ed..000000000000
--- a/devel/kf6-kfilemetadata/files/patch-src_extractors_plaintextextractor.cpp
+++ /dev/null
@@ -1,20 +0,0 @@
---- src/extractors/plaintextextractor.cpp.orig 2025-08-01 10:34:24 UTC
-+++ src/extractors/plaintextextractor.cpp
-@@ -119,7 +119,7 @@ void PlainTextExtractor::extract(ExtractionResult* res
-
- // Read the first chunk, detect the encoding and decode it
- QByteArray chunk(256 * 1024, Qt::Uninitialized);
-- auto size = file.read(chunk.data(), chunk.size());
-+ auto size = static_cast<qsizetype>(file.read(chunk.data(), chunk.size()));
-
- QStringDecoder codec{autodetectCodec({chunk.data(), size})};
-
-@@ -151,7 +151,7 @@ void PlainTextExtractor::extract(ExtractionResult* res
-
- // Read and decode the remainder
- while (!file.atEnd()) {
-- auto size = file.read(chunk.data(), chunk.size());
-+ auto size = static_cast<qsizetype>(file.read(chunk.data(), chunk.size()));
- if (size < 0) {
- // may happen when the file is truncated during read
- qCWarning(KFILEMETADATA_LOG) << "Error reading" << result->inputUrl();