diff options
author | Jay Berkenbilt <ejb@ql.org> | 2013-02-24 03:46:21 +0100 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2013-03-04 22:45:16 +0100 |
commit | 30027481f7f9e9191f7c8deea51850b7a76b1b1f (patch) | |
tree | 815af293c2f6e38994e6096a4499be0dc9a476f9 /libqpdf/RC4.cc | |
parent | babb47948a408ebad12c452ba3fdd78782360167 (diff) | |
download | qpdf-30027481f7f9e9191f7c8deea51850b7a76b1b1f.tar.zst |
Remove all old-style casts from C++ code
Diffstat (limited to 'libqpdf/RC4.cc')
-rw-r--r-- | libqpdf/RC4.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libqpdf/RC4.cc b/libqpdf/RC4.cc index b992937f..7639a364 100644 --- a/libqpdf/RC4.cc +++ b/libqpdf/RC4.cc @@ -15,7 +15,7 @@ RC4::RC4(unsigned char const* key_data, int key_len) { if (key_len == -1) { - key_len = (int)strlen((char*)key_data); + key_len = strlen(reinterpret_cast<char const*>(key_data)); } for (int i = 0; i < 256; ++i) |