mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-08 17:42:12 +03:00
Replace {u}int_fast{16|32} with {u}int32_t
On 32-bit machines this has no affect. On 64-bit machines {u}int_fast{16|32} are set as {u}int64_t which is often not ideal. Particularly x86_64 this change both saves code size and may save instruction cost. Full xcheck passes on x86_64.
This commit is contained in:
@@ -118,7 +118,7 @@ _nss_dns_getcanonname_r (const char *name, char *buffer, size_t buflen,
|
||||
goto unavail;
|
||||
|
||||
/* Check whether type and class match. */
|
||||
uint_fast16_t type;
|
||||
short int type;
|
||||
NS_GET16 (type, ptr);
|
||||
if (type == qtypes[i])
|
||||
{
|
||||
|
Reference in New Issue
Block a user