From 80d5f87de403ec3ed8e59be77afc3fa9803ee6f2 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Mon, 20 May 2024 02:06:27 -0500 Subject: [PATCH] [ox/std] Make Point and Size members int32_t (synced from 047b43968e1146ce5c3fb8334dd08b638e3e828d) --- src/ox/std/point.hpp | 4 ++-- src/ox/std/size.hpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/ox/std/point.hpp b/src/ox/std/point.hpp index ca6c57f45..e902f5e8e 100644 --- a/src/ox/std/point.hpp +++ b/src/ox/std/point.hpp @@ -17,8 +17,8 @@ class Point { public: static constexpr auto TypeName = "net.drinkingtea.ox.Point"; static constexpr auto TypeVersion = 1; - int x = 0; - int y = 0; + int32_t x = 0; + int32_t y = 0; constexpr Point() noexcept = default; diff --git a/src/ox/std/size.hpp b/src/ox/std/size.hpp index 3b03f5368..368fe45a0 100644 --- a/src/ox/std/size.hpp +++ b/src/ox/std/size.hpp @@ -17,8 +17,8 @@ class Size { public: static constexpr auto TypeName = "net.drinkingtea.ox.Size"; static constexpr auto TypeVersion = 1; - int width = 0; - int height = 0; + int32_t width = 0; + int32_t height = 0; constexpr Size() noexcept = default;