From: falcovorbis <fal...@us...> - 2024-11-05 03:01:00
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "A pseudo Operating System for the Dreamcast.". The branch, master has been updated via 65cc060af59a607a2a05c742089d08f8271b0eb9 (commit) from e1b97e4314fa1a2e933fc3846c3971a8439a0f0b (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 65cc060af59a607a2a05c742089d08f8271b0eb9 Author: Andy Barajas <and...@gm...> Date: Mon Nov 4 19:00:39 2024 -0800 Fix versioning macros (#843) ----------------------------------------------------------------------- Summary of changes: include/kos/version.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/include/kos/version.h b/include/kos/version.h index 431a3430..5fe98b1a 100644 --- a/include/kos/version.h +++ b/include/kos/version.h @@ -249,7 +249,7 @@ \returns Packed version identifier. */ #define KOS_VERSION_MAKE(major, minor, patch) \ - ((kos_version_t)((major) << 16) | ((minor) << 8) | (patch)) + (((major) << 16) | ((minor) << 8) | (patch)) /** Creates a version string from its constituents. @@ -305,7 +305,7 @@ \retval false The given version is at or below \p version. */ #define KOS_VERSION_MAKE_ABOVE(major, minor, patch, version) \ - (KOS_VERSION_MAKE_COMPARISON(major, minor, patch, >, version)) + (KOS_VERSION_MAKE_COMPARISON(major, minor, patch, <, version)) /** Creates a minimum version check. @@ -323,7 +323,7 @@ \retval false The given version is below \p version. */ #define KOS_VERSION_MAKE_MIN(major, minor, patch, version) \ - (KOS_VERSION_MAKE_COMPARISON(major, minor, patch, >=, version)) + (KOS_VERSION_MAKE_COMPARISON(major, minor, patch, <=, version)) /** Creates an exact version check. @@ -360,7 +360,7 @@ */ #define KOS_VERSION_MAKE_MAX(major, minor, patch, version) \ - (KOS_VERSION_MAKE_COMPARISON(major, minor, patch, <=, version)) + (KOS_VERSION_MAKE_COMPARISON(major, minor, patch, >=, version)) /** Creates a check for being below a given version. @@ -378,7 +378,7 @@ \retval false The given version is at or above \p version. */ #define KOS_VERSION_MAKE_BELOW(major, minor, patch, version) \ - (KOS_VERSION_MAKE_COMPARISON(major, minor, patch, <, version)) + (KOS_VERSION_MAKE_COMPARISON(major, minor, patch, >, version)) /** @} */ /** \cond INTERNAL */ hooks/post-receive -- A pseudo Operating System for the Dreamcast. |