From 35674b8a42b2454c1cac03968c2640382813ffc7 Mon Sep 17 00:00:00 2001 From: Ben Wiederhake Date: Thu, 16 Sep 2021 23:36:59 +0200 Subject: [PATCH] LibPDF: Fix math error in comments --- Userland/Libraries/LibPDF/Value.h | 4 ++-- 1 file 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)