From 02475e05ccd1aa15c6a6163834f28bfebbef796f Mon Sep 17 00:00:00 2001 From: Rutger Broekhoff Date: Mon, 30 Nov 2026 11:47:36 +0100 Subject: RWGPS webhook and such --- server/src/xml.cppm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'server/src/xml.cppm') diff --git a/server/src/xml.cppm b/server/src/xml.cppm index ffaf159..2d186da 100644 --- a/server/src/xml.cppm +++ b/server/src/xml.cppm @@ -250,8 +250,8 @@ public: struct position { - std::size_t line; - std::size_t col; + std::uint64_t line; + std::uint64_t col; }; class executor @@ -443,8 +443,8 @@ public: [[nodiscard]] inline auto position() -> position { return { - .line = XML_GetCurrentLineNumber(p_), - .col = XML_GetCurrentColumnNumber(p_), + .line = XML_GetCurrentLineNumber64(p_), + .col = XML_GetCurrentColumnNumber64(p_), }; } -- cgit v1.3.1