summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/vi/vi_types.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/hle/service/vi/vi_types.h')
-rw-r--r--src/core/hle/service/vi/vi_types.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/vi/vi_types.h b/src/core/hle/service/vi/vi_types.h
index 91e4b380c..7f2c70aef 100644
--- a/src/core/hle/service/vi/vi_types.h
+++ b/src/core/hle/service/vi/vi_types.h
@@ -68,7 +68,7 @@ static_assert(sizeof(DisplayInfo) == 0x60, "DisplayInfo has wrong size");
class NativeWindow final {
public:
- constexpr explicit NativeWindow(u32 id_) : id{id_} {}
+ constexpr explicit NativeWindow(s32 id_) : id{static_cast<u64>(id_)} {}
constexpr explicit NativeWindow(const NativeWindow& other) = default;
private: