From 0537027c62bf60da936bd3d8f45dd42804445897 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 7 Mar 2025 21:45:56 +0100 Subject: Update LIST_RAMPS_STOP_VALUE_TYPES macro to reflect eariler changes in colorramp.c MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/common.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/common.h') diff --git a/src/common.h b/src/common.h index 98384cc..7baedae 100644 --- a/src/common.h +++ b/src/common.h @@ -235,14 +235,14 @@ struct location_provider { #define LIST_RAMPS_STOP_VALUE_TYPES(X, D)\ - X(u8, uint8_t, UINT8_MAX + 1ULL, UINT8_MAX, 8) D\ - X(u16, uint16_t, UINT16_MAX + 1ULL, UINT16_MAX, 16) D\ - X(u32, uint32_t, UINT32_MAX + 1ULL, UINT32_MAX, 32) D\ - X(u64, uint64_t, UINT64_MAX, UINT64_MAX, 64) D\ - X(float, float, 1, 1, -1) D\ - X(double, double, 1, 1, -2) - -#define X(SUFFIX, TYPE, MAX, TRUE_MAX, DEPTH)\ + X(u8, uint8_t, UINT8_MAX, 8) D\ + X(u16, uint16_t, UINT16_MAX, 16) D\ + X(u32, uint32_t, UINT32_MAX, 32) D\ + X(u64, uint64_t, UINT64_MAX, 64) D\ + X(float, float, 1, -1) D\ + X(double, double, 1, -2) + +#define X(SUFFIX, TYPE, MAX, DEPTH)\ /** * Fill the gamma ramps * -- cgit v1.2.3-70-g09d2