diff options
Diffstat (limited to 'libqpdf/QPDF_encryption.cc')
-rw-r--r-- | libqpdf/QPDF_encryption.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libqpdf/QPDF_encryption.cc b/libqpdf/QPDF_encryption.cc index c02f1aac..d72d6fb7 100644 --- a/libqpdf/QPDF_encryption.cc +++ b/libqpdf/QPDF_encryption.cc @@ -1425,7 +1425,7 @@ static bool is_bit_set(int P, int bit) { // Bits in P are numbered from 1 in the spec - return (P & (1 << (bit - 1))); + return ((P & (1 << (bit - 1))) != 0); } bool |