From 4392f4b538a2f9ee3a0465132a0e77a5735dcd40 Mon Sep 17 00:00:00 2001 From: Lubos Dolezel Date: Sat, 13 Jul 2019 20:10:20 +0200 Subject: [PATCH] Fix char signedness in DMap --- include/jwt/base64.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/jwt/base64.hpp b/include/jwt/base64.hpp index 4cb28d7..248b10c 100644 --- a/include/jwt/base64.hpp +++ b/include/jwt/base64.hpp @@ -153,7 +153,7 @@ public: constexpr DMap() = default; public: - constexpr char at(size_t pos) const noexcept + constexpr signed char at(size_t pos) const noexcept { return X_ASSERT(pos < map_.size()), map_[pos]; }