aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-objdump/llvm-objdump.cpp
diff options
context:
space:
mode:
authorJoshua Root <jmr@macports.org>2022-06-24 09:12:55 -0700
committerDaniel Rodríguez Troitiño <danielrodriguez@fb.com>2022-06-24 09:14:47 -0700
commit146f486ba337299b88df303a6f1cf99f60df03cc (patch)
tree5ceca85532bf451a6d344626b5bf750f9b255c16 /llvm/tools/llvm-objdump/llvm-objdump.cpp
parente422c0d3b26eaf3e5646960351d4fe6ff7c0b573 (diff)
downloadllvm-146f486ba337299b88df303a6f1cf99f60df03cc.zip
llvm-146f486ba337299b88df303a6f1cf99f60df03cc.tar.gz
llvm-146f486ba337299b88df303a6f1cf99f60df03cc.tar.bz2
[ObjCopy] Fix type mismatch in writeCodeSignatureData()
The result of pointer subtraction is of type ptrdiff_t, which is not necessarily the same underlying type as ssize_t. This can lead to a compilation error since std::min requires both parameters to be the same type. Fixes: https://github.com/llvm/llvm-project/issues/54846 Reviewed By: alexander-shaposhnikov, drodriguez, jhenderson Differential Revision: https://reviews.llvm.org/D128117
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions