diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2024-04-11 19:09:28 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-04-11 19:24:55 +0200 |
commit | 9157adfe80dff953687ec364cc612cf45f2b9609 (patch) | |
tree | cd677186d1c41a55deb4a6942827f6f89ffb5357 /src/script.inl | |
parent | 2fb9086c6b5da63e382bc9fb5ab7523bf25b69b4 (diff) |
fix msvc warnings
Diffstat (limited to 'src/script.inl')
-rw-r--r-- | src/script.inl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script.inl b/src/script.inl index 658192f6..d3c9a06e 100644 --- a/src/script.inl +++ b/src/script.inl @@ -43,7 +43,7 @@ Script<S, Obj>::~Script() noexcept { case script_lifecycle::no_init: case script_lifecycle::torn_down: - state = (script_lifecycle)(unsigned)-1; + state = (script_lifecycle)-1; break; case script_lifecycle::COUNT: std::unreachable(); |