From 0072e740d54d7d4577a40d64371f054173376de4 Mon Sep 17 00:00:00 2001 From: ToruNiina Date: Sun, 21 Jul 2024 15:53:41 +0000 Subject: [PATCH] feat [skip ci]: update single_include --- single_include/toml.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/single_include/toml.hpp b/single_include/toml.hpp index ab06eb8..510a117 100644 --- a/single_include/toml.hpp +++ b/single_include/toml.hpp @@ -15344,7 +15344,7 @@ try_parse(std::istream& is, std::string fname = "unknown file", spec s = spec::d // read whole file as a sequence of char assert(fsize >= 0); std::vector letters(static_cast(fsize), '\0'); - is.read(reinterpret_cast(letters.data()), fsize); + is.read(reinterpret_cast(letters.data()), static_cast(fsize)); return detail::parse_impl(std::move(letters), std::move(fname), std::move(s)); }