Add UINT32_C()-macro around constant - libgrapheme - unicode string library
 (HTM) git clone git://git.suckless.org/libgrapheme
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit c031ada2cb11489c032f6ddd84fa7091efe6c784
 (DIR) parent 6375ae6d522413ba1a6e3b2a62c6e5e99349aafa
 (HTM) Author: Laslo Hunhold <dev@frign.de>
       Date:   Fri, 28 Oct 2022 17:09:44 +0200
       
       Add UINT32_C()-macro around constant
       
       Signed-off-by: Laslo Hunhold <dev@frign.de>
       
       Diffstat:
         M src/word.c                          |       2 +-
       
       1 file changed, 1 insertion(+), 1 deletion(-)
       ---
 (DIR) diff --git a/src/word.c b/src/word.c
       @@ -14,7 +14,7 @@ struct word_break_state
        static inline uint_least8_t
        get_word_break_prop(uint_least32_t cp)
        {
       -        if (likely(cp <= 0x10FFFF)) {
       +        if (likely(cp <= UINT32_C(0x10FFFF))) {
                        return (uint_least8_t)
                               word_break_minor[word_break_major[cp >> 8] + (cp & 0xff)];
                } else {