[libc-commits] [libc] [libc] Fix typo in uint128 type for PPC printf handling (PR #138157)
Joseph Huber via libc-commits
libc-commits at lists.llvm.org
Thu May 1 08:50:07 PDT 2025
https://github.com/jhuber6 created https://github.com/llvm/llvm-project/pull/138157
None
>From dfdcadaba373165915d7681cbeff6f7cb3fa2676 Mon Sep 17 00:00:00 2001
From: Joseph Huber <huberjn at outlook.com>
Date: Thu, 1 May 2025 10:49:22 -0500
Subject: [PATCH] [libc] Fix typo in uint128 type for PPC printf handling
---
libc/src/stdio/printf_core/core_structs.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libc/src/stdio/printf_core/core_structs.h b/libc/src/stdio/printf_core/core_structs.h
index bab4fe75058a0..e27f77b6b594a 100644
--- a/libc/src/stdio/printf_core/core_structs.h
+++ b/libc/src/stdio/printf_core/core_structs.h
@@ -58,7 +58,7 @@ struct FormatSection {
// Needs to be large enough to hold a long double. Special case handling for
// the PowerPC double double type because it has no FPBits interface.
#ifdef LIBC_TYPES_LONG_DOUBLE_IS_DOUBLE_DOUBLE
- Uint128 conv_val_raw;
+ UInt128 conv_val_raw;
#else
fputil::FPBits<long double>::StorageType conv_val_raw;
#endif // LIBC_TYPES_LONG_DOUBLE_IS_DOUBLE_DOUBLE
More information about the libc-commits
mailing list