Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/lib/libc/locale



Module Name:    src
Committed By:   rillig
Date:           Sat Oct 12 16:44:44 UTC 2024

Modified Files:
        src/lib/libc/locale: c8rtomb.c

Log Message:
c8rtomb: use uint8_t for 8-bit values

On amd64 at least, uint_fast8_t is an alias to unsigned int, which
produced a lint warning that 'unsigned int << 24' could lose some bits,
when in fact the expression was 'unsigned char << 24'.

Fixes the last remaining part of PR toolchain/58728.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/lib/libc/locale/c8rtomb.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index