NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
PR/58728 CVS commit: src/lib/libc/locale
The following reply was made to PR toolchain/58728; it has been noted by GNATS.
From: "Roland Illig" <rillig%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc:
Subject: PR/58728 CVS commit: src/lib/libc/locale
Date: Sat, 12 Oct 2024 16:44:44 +0000
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