[all-commits] [llvm/llvm-project] d17d24: [libc][NFC] Remove a compiler warning for MPCommon...
jinge90 via All-commits
all-commits at lists.llvm.org
Tue Jun 23 20:40:56 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d17d249e92bfe63f6ccc8a927caa4eb0316474a8
https://github.com/llvm/llvm-project/commit/d17d249e92bfe63f6ccc8a927caa4eb0316474a8
Author: jinge90 <ge.jin at intel.com>
Date: 2026-06-24 (Wed, 24 Jun 2026)
Changed paths:
M libc/utils/MPFRWrapper/MPCommon.cpp
Log Message:
-----------
[libc][NFC] Remove a compiler warning for MPCommon (#205264)
Local build on Linux platform reports a compiler warning:
llvm-project/libc/utils/MPFRWrapper/MPCommon.cpp:546:15: warning:
implicit conversion loses integer precision: 'long' to 'int'
[-Wshorten-64-to-32]
546 | int mod = mpfr_get_si(value_ret_exact.value, MPFR_RNDN);
| ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
Signed-off-by: jinge90 <ge.jin at intel.com>
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list