[all-commits] [llvm/llvm-project] d441de: [lld][MachO] Fix -Wsign-compare warning (NFC)
nullptr-cpp via All-commits
all-commits at lists.llvm.org
Thu Apr 1 20:34:26 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d441dee5c266ca0777d06846971e1b436361f361
https://github.com/llvm/llvm-project/commit/d441dee5c266ca0777d06846971e1b436361f361
Author: Yang Fan <nullptr.cpp at gmail.com>
Date: 2021-04-02 (Fri, 02 Apr 2021)
Changed paths:
M lld/MachO/InputFiles.cpp
Log Message:
-----------
[lld][MachO] Fix -Wsign-compare warning (NFC)
GCC warning:
```
/llvm-project/lld/MachO/InputFiles.cpp:484:24: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘uint64_t’ {aka ‘long unsigned int’} [-Wsign-compare]
484 | return value < subsectionEntry.offset;
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
```
More information about the All-commits
mailing list