summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibPDF
diff options
context:
space:
mode:
authorBen Wiederhake <BenWiederhake.GitHub@gmx.de>2021-09-16 23:36:59 +0200
committerAli Mohammad Pur <Ali.mpfard@gmail.com>2021-09-20 17:39:36 +0430
commit35674b8a42b2454c1cac03968c2640382813ffc7 (patch)
tree2f05bdc3d50463bcb79c822caab774c2bc77a022 /Userland/Libraries/LibPDF
parent750bed254fd3db6749e0961051080e26ccc388a7 (diff)
downloadserenity-35674b8a42b2454c1cac03968c2640382813ffc7.zip
LibPDF: Fix math error in comments
Diffstat (limited to 'Userland/Libraries/LibPDF')
-rw-r--r--Userland/Libraries/LibPDF/Value.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibPDF/Value.h b/Userland/Libraries/LibPDF/Value.h
index 33f13a0687..06c4888c0d 100644
--- a/Userland/Libraries/LibPDF/Value.h
+++ b/Userland/Libraries/LibPDF/Value.h
@@ -20,8 +20,8 @@ public:
// This may need to be rethought later, as the max generation index is
// 2^16 and the max for the object index is probably 2^32 (I don't know
// exactly)
- static constexpr auto max_ref_index = (1 << 19) - 1; // 2 ^ 18 - 1
- static constexpr auto max_ref_generation_index = (1 << 15) - 1; // 2 ^ 14 - 1
+ static constexpr auto max_ref_index = (1 << 19) - 1; // 2 ^ 19 - 1
+ static constexpr auto max_ref_generation_index = (1 << 15) - 1; // 2 ^ 15 - 1
Value()
: m_type(Type::Empty)