diff options
author | Joshua Root <jmr@macports.org> | 2022-06-24 09:12:55 -0700 |
---|---|---|
committer | Daniel RodrÃguez Troitiño <danielrodriguez@fb.com> | 2022-06-24 09:14:47 -0700 |
commit | 146f486ba337299b88df303a6f1cf99f60df03cc (patch) | |
tree | 5ceca85532bf451a6d344626b5bf750f9b255c16 /llvm/tools/llvm-objdump/llvm-objdump.cpp | |
parent | e422c0d3b26eaf3e5646960351d4fe6ff7c0b573 (diff) | |
download | llvm-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