fix integer overflow warning during AppImage compilation

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
This commit is contained in:
Matthieu Gallien 2025-03-18 08:59:50 +01:00
parent 0c772176d5
commit c54dcc1824

View File

@ -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@