diff options
author | Jay Berkenbilt <jberkenbilt@users.noreply.github.com> | 2023-05-20 17:29:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-20 17:29:09 +0200 |
commit | fd17c8e3fe38a56abf50ce0edec1cde48d4f74cb (patch) | |
tree | c1efea1b140cac94dbaf496ae6ec5e0a621daa07 /libtests/bits.cc | |
parent | a6d7b79e65941238871c0c3d7d06b9bf246213ba (diff) | |
parent | e6577a1323cd813a92ddbc8841e1342c05de071a (diff) | |
download | qpdf-fd17c8e3fe38a56abf50ce0edec1cde48d4f74cb.tar.zst |
Merge pull request #963 from m-holger/tidy
Code tidy
Diffstat (limited to 'libtests/bits.cc')
-rw-r--r-- | libtests/bits.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libtests/bits.cc b/libtests/bits.cc index 07870eb7..af715da8 100644 --- a/libtests/bits.cc +++ b/libtests/bits.cc @@ -4,8 +4,7 @@ #include <qpdf/QIntC.hh> #include <qpdf/QUtil.hh> #include <iostream> -#include <stdio.h> -#include <stdlib.h> +#include <cstdlib> // See comments in bits_functions.hh #define BITS_TESTING 1 @@ -142,7 +141,7 @@ test() unsigned char ch = 0; bit_offset = 7; - Pl_Buffer* bp = new Pl_Buffer("buffer"); + auto* bp = new Pl_Buffer("buffer"); test_write_bits(ch, bit_offset, 30UL, 5, bp); test_write_bits(ch, bit_offset, 10UL, 4, bp); |