[libc-commits] [libc] [libc] Fix typo in uint128 type for PPC printf handling (PR #138157)

via libc-commits libc-commits at lists.llvm.org
Thu May 1 08:50:43 PDT 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-libc

Author: Joseph Huber (jhuber6)

<details>
<summary>Changes</summary>



---
Full diff: https://github.com/llvm/llvm-project/pull/138157.diff


1 Files Affected:

- (modified) libc/src/stdio/printf_core/core_structs.h (+1-1) 


``````````diff
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

``````````

</details>


https://github.com/llvm/llvm-project/pull/138157


More information about the libc-commits mailing list