From fe874bc4552bbf0546066d710919ecc02dcacf3a Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Thu, 12 Dec 2019 21:17:26 +0100 Subject: [PATCH] JsonValue: Fix wrong return type of as_u32() and friends --- AK/JsonValue.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/AK/JsonValue.h b/AK/JsonValue.h index 92784407db..8359ef9bb0 100644 --- a/AK/JsonValue.h +++ b/AK/JsonValue.h @@ -101,25 +101,25 @@ public: return as_bool(); } - int as_i32() const + i32 as_i32() const { ASSERT(is_i32()); return m_value.as_i32; } - int as_u32() const + u32 as_u32() const { ASSERT(is_u32()); return m_value.as_u32; } - int as_i64() const + i64 as_i64() const { ASSERT(is_i64()); return m_value.as_i64; } - int as_u64() const + u64 as_u64() const { ASSERT(is_u64()); return m_value.as_u64;