mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2026-10-09 22:53:32 +00:00
[cpm] sirit+jwt fixes for clang24
Signed-off-by: lizzie <lizzie@eden-emu.dev>
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
diff --git a/include/jwt/algorithm.hpp b/include/jwt/algorithm.hpp
|
||||
index 35347fe..183fcc2 100644
|
||||
--- a/include/jwt/algorithm.hpp
|
||||
+++ b/include/jwt/algorithm.hpp
|
||||
@@ -484,7 +484,7 @@ public:
|
||||
{
|
||||
std::error_code ec{};
|
||||
|
||||
- std::string ii{data.data(), data.length()};
|
||||
+ //std::string ii{data.data(), data.length()};
|
||||
|
||||
EC_PKEY_uptr pkey{load_key(key, ec), ev_pkey_deletor};
|
||||
if (ec) return { std::string{}, ec };
|
||||
@@ -0,0 +1,12 @@
|
||||
diff --git a/src/stream.h b/src/stream.h
|
||||
index 31c2680..1b6c0e8 100644
|
||||
--- a/src/stream.h
|
||||
+++ b/src/stream.h
|
||||
@@ -17,6 +17,7 @@
|
||||
#include <variant>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
+#include <cstdlib>
|
||||
|
||||
#ifndef __cpp_lib_bit_cast
|
||||
#include <cstring>
|
||||
Reference in New Issue
Block a user