mirror of
https://github.com/chromium/crashpad.git
synced 2025-03-08 21:26:04 +00:00
win: Avoid signed/unsigned warning
d:\src\crashpad\crashpad\snapshot\cpu_context.cc(96) : warning C4245: 'return' : conversion from 'int' to 'uint64_t', signed/unsigned mismatch R=mark@chromium.org BUG=crashpad:1 Review URL: https://codereview.chromium.org/819703002
This commit is contained in:
parent
110eafe9a1
commit
8d7681752d
@ -93,7 +93,7 @@ uint64_t CPUContext::InstructionPointer() const {
|
||||
return x86_64->rip;
|
||||
default:
|
||||
NOTREACHED();
|
||||
return -1;
|
||||
return ~0ull;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user