From ff9e10085a40dcc48f76f786b8348fc1c76bf113 Mon Sep 17 00:00:00 2001 From: Gwenhael Goavec-Merou Date: Wed, 1 Apr 2026 10:32:38 +0200 Subject: [PATCH] pofParser: ARRAY2INT32: must be casted to uin32_t not uint16_t --- src/pofParser.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/pofParser.hpp b/src/pofParser.hpp index e1d36ff..459ff71 100644 --- a/src/pofParser.hpp +++ b/src/pofParser.hpp @@ -18,10 +18,10 @@ (static_cast(_array_[1] & 0x00ff) << 8)) #define ARRAY2INT32(_array_) ( \ - (static_cast(_array_[0] & 0x00ff) << 0) | \ - (static_cast(_array_[1] & 0x00ff) << 8) | \ - (static_cast(_array_[2] & 0x00ff) << 16) | \ - (static_cast(_array_[3] & 0x00ff) << 24)) + (static_cast(_array_[0] & 0x00ff) << 0) | \ + (static_cast(_array_[1] & 0x00ff) << 8) | \ + (static_cast(_array_[2] & 0x00ff) << 16) | \ + (static_cast(_array_[3] & 0x00ff) << 24)) /*! * \file pofParser.hpp