summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Fuzzer/FuzzerUtilLinux.cpp
diff options
context:
space:
mode:
authorMarcos Pividori <mpividori@google.com>2016-12-13 17:45:44 +0000
committerMarcos Pividori <mpividori@google.com>2016-12-13 17:45:44 +0000
commit463f8bdd0b85ea19177ff5e22d2fca34859b2234 (patch)
treea30dd1d19702a2442deb0a4b63b149b8a86e44fe /llvm/lib/Fuzzer/FuzzerUtilLinux.cpp
parentc59b692c85e0b75ffb3168c2dbec2a0280886c9b (diff)
downloadbcm5719-llvm-463f8bdd0b85ea19177ff5e22d2fca34859b2234.tar.gz
bcm5719-llvm-463f8bdd0b85ea19177ff5e22d2fca34859b2234.zip
[libFuzzer] Properly use unsigned for Process ID.
Use unsigned for PID instead of signed int. GetCurrentProcessId() returns an unsigned (DWORD) so we must be sure we can deal with all possible values. I use a long unsigned to be sure it can hold a 32 bit unsigned (DWORD). Differential Revision: https://reviews.llvm.org/D27281 llvm-svn: 289558
Diffstat (limited to 'llvm/lib/Fuzzer/FuzzerUtilLinux.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud