From c54dcc1824e1af9b6faade2f6689d163e2cfbdce Mon Sep 17 00:00:00 2001 From: Matthieu Gallien Date: Tue, 18 Mar 2025 08:59:50 +0100 Subject: [PATCH] fix integer overflow warning during AppImage compilation Signed-off-by: Matthieu Gallien --- version.h.in | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/version.h.in b/version.h.in index 3c80a99141..295ce56abe 100644 --- a/version.h.in +++ b/version.h.in @@ -25,10 +25,10 @@ #define MIRALL_TOSTRING(s) #s /* MIRALL version */ -constexpr int MIRALL_VERSION_MAJOR = @MIRALL_VERSION_MAJOR@; -constexpr int MIRALL_VERSION_MINOR = @MIRALL_VERSION_MINOR@; -constexpr int MIRALL_VERSION_PATCH = @MIRALL_VERSION_PATCH@; -constexpr int MIRALL_VERSION_BUILD = @MIRALL_VERSION_BUILD@; +constexpr auto MIRALL_VERSION_MAJOR = @MIRALL_VERSION_MAJOR@; +constexpr auto MIRALL_VERSION_MINOR = @MIRALL_VERSION_MINOR@; +constexpr auto MIRALL_VERSION_PATCH = @MIRALL_VERSION_PATCH@; +constexpr auto MIRALL_VERSION_BUILD = @MIRALL_VERSION_BUILD@; constexpr auto MIRALL_VERSION_SUFFIX = "@MIRALL_VERSION_SUFFIX@"; #cmakedefine MIRALL_VERSION @MIRALL_VERSION@