mirror of
https://github.com/qpdf/qpdf.git
synced 2024-12-22 02:49:00 +00:00
typo
git-svn-id: svn+q:///qpdf/trunk@608 71b93d88-0707-0410-a8cf-f5a4172ac649
This commit is contained in:
parent
76bf91765e
commit
e5f08a7126
@ -235,7 +235,7 @@ QPDFWriter::setEncryptionParameters(
|
||||
for (std::set<int>::iterator iter = bits_to_clear.begin();
|
||||
iter != bits_to_clear.end(); ++iter)
|
||||
{
|
||||
P |= ((1 << (*iter)) - 1);
|
||||
P |= (1 << ((*iter) - 1));
|
||||
}
|
||||
P = ~P;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user