From 78f8c6c81c2e900aa1cb433940667a054cc0b6ed Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 25 Apr 2025 08:01:32 +0200 Subject: buffer flush --- api/plugin-support.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'api/plugin-support.hpp') diff --git a/api/plugin-support.hpp b/api/plugin-support.hpp index 4300da18..77160040 100644 --- a/api/plugin-support.hpp +++ b/api/plugin-support.hpp @@ -17,6 +17,7 @@ #include #include +#include #include #include #include @@ -159,7 +160,7 @@ private: for (auto name : names) { if (in.startsWith(name)) - return in.mid(std::strlen(name)).toString(); + return in.mid((int)std::strlen(name)).toString(); } } } -- cgit v1.2.3