summaryrefslogtreecommitdiffstats
path: root/libqpdf/PCRE.cc
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2013-02-24 03:46:21 +0100
committerJay Berkenbilt <ejb@ql.org>2013-03-04 22:45:16 +0100
commit30027481f7f9e9191f7c8deea51850b7a76b1b1f (patch)
tree815af293c2f6e38994e6096a4499be0dc9a476f9 /libqpdf/PCRE.cc
parentbabb47948a408ebad12c452ba3fdd78782360167 (diff)
downloadqpdf-30027481f7f9e9191f7c8deea51850b7a76b1b1f.tar.zst
Remove all old-style casts from C++ code
Diffstat (limited to 'libqpdf/PCRE.cc')
-rw-r--r--libqpdf/PCRE.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libqpdf/PCRE.cc b/libqpdf/PCRE.cc
index 1e5585b0..2e808aa7 100644
--- a/libqpdf/PCRE.cc
+++ b/libqpdf/PCRE.cc
@@ -166,7 +166,7 @@ PCRE::match(char const* subject, int options, int startoffset, int size)
{
if (size == -1)
{
- size = (int) strlen(subject);
+ size = strlen(subject);
}
Match result(this->nbackrefs, subject);