[all-commits] [llvm/llvm-project] 22d41b: Fix -Wsign-compare warning with clang-cl
Reid Kleckner via All-commits
all-commits at lists.llvm.org
Wed Oct 30 15:20:48 PDT 2019
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 22d41ba024fa08026ebd85ec842712fcf780ca2a
https://github.com/llvm/llvm-project/commit/22d41ba024fa08026ebd85ec842712fcf780ca2a
Author: Reid Kleckner <rnk at google.com>
Date: 2019-10-30 (Wed, 30 Oct 2019)
Changed paths:
M llvm/lib/DebugInfo/GSYM/FunctionInfo.cpp
Log Message:
-----------
Fix -Wsign-compare warning with clang-cl
off_t apparently is just "long" on Win64, which is 32-bits, and
therefore not long enough to compare with UINT32_MAX. Use auto to follow
the surrounding code. uint64_t would also be fine.
More information about the All-commits
mailing list