diff options
author | m-holger <m-holger@kubitscheck.org> | 2023-05-20 13:46:50 +0200 |
---|---|---|
committer | m-holger <m-holger@kubitscheck.org> | 2023-05-20 16:41:36 +0200 |
commit | d0682f0f609e979ba085d93a1a0d8e0559f739bb (patch) | |
tree | 53d0ef2d0be8ee1167c8a59f86bda1b3cdba7f53 /libtests/rc4.cc | |
parent | e28f4efb00d5040fa71532d76e63aa7ade105c99 (diff) | |
download | qpdf-d0682f0f609e979ba085d93a1a0d8e0559f739bb.tar.zst |
Use nullptr instead of 0 or NULL
Diffstat (limited to 'libtests/rc4.cc')
-rw-r--r-- | libtests/rc4.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libtests/rc4.cc b/libtests/rc4.cc index 874c11ff..ca4af91d 100644 --- a/libtests/rc4.cc +++ b/libtests/rc4.cc @@ -51,7 +51,7 @@ main(int argc, char* argv[]) t[1] = hexkey[i + 1]; t[2] = '\0'; - long val = strtol(t, 0, 16); + long val = strtol(t, nullptr, 16); key[i / 2] = static_cast<unsigned char>(val); } |