[all-commits] [llvm/llvm-project] 9d7b35: [NFC][GOFF] Fix char overflow (#112826)
Jinsong Ji via All-commits
all-commits at lists.llvm.org
Fri Oct 18 09:16:50 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9d7b35d4e1e0c563e660450687ce475ee1959951
https://github.com/llvm/llvm-project/commit/9d7b35d4e1e0c563e660450687ce475ee1959951
Author: Jinsong Ji <jinsong.ji at intel.com>
Date: 2024-10-18 (Fri, 18 Oct 2024)
Changed paths:
M llvm/unittests/Object/GOFFObjectFileTest.cpp
Log Message:
-----------
[NFC][GOFF] Fix char overflow (#112826)
This is one of the many PRs to fix errors with LLVM_ENABLE_WERROR=on.
Built by GCC 11.
Fix warnining:
llvm/unittests/Object/GOFFObjectFileTest.cpp:511:17: error: overflow in
conversion from ‘int’ to ‘char’ changes value from ‘240’ to
‘'\37777777760'’ [-Werror=overflow]
511 | GOFFData[1] = 0xF0;
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