diff options
Diffstat (limited to 'hyprtester/plugin/src/main.cpp')
| -rw-r--r-- | hyprtester/plugin/src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hyprtester/plugin/src/main.cpp b/hyprtester/plugin/src/main.cpp index 01ec7b38..7eeb2eea 100644 --- a/hyprtester/plugin/src/main.cpp +++ b/hyprtester/plugin/src/main.cpp @@ -72,7 +72,7 @@ class CTestKeyboard : public IKeyboard { void sendKey(uint32_t key, bool pressed) { auto event = IKeyboard::SKeyEvent{ - .timeMs = static_cast<uint32_t>(Time::millis(Time::steadyNow())), + .timeMs = sc<uint32_t>(Time::millis(Time::steadyNow())), .keycode = key, .state = pressed ? WL_KEYBOARD_KEY_STATE_PRESSED : WL_KEYBOARD_KEY_STATE_RELEASED, }; |
