diff options
| author | Michał Górny <mgorny@moritz.systems> | 2021-11-09 23:55:52 +0100 |
|---|---|---|
| committer | Michał Górny <mgorny@moritz.systems> | 2021-11-10 09:38:55 +0100 |
| commit | 82ce9127436b316eca6763b926b2cde2e3d4bb8a (patch) | |
| tree | 569a2b68e47c5b6fe2b80d781b3014de0bdf1d69 /lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h | |
| parent | 3f1372365ac6c860ff6ecc4cfd3ba131bdf81698 (diff) | |
| download | llvm-82ce9127436b316eca6763b926b2cde2e3d4bb8a.zip llvm-82ce9127436b316eca6763b926b2cde2e3d4bb8a.tar.gz llvm-82ce9127436b316eca6763b926b2cde2e3d4bb8a.tar.bz2 | |
[lldb] [gdb-server] Fix fill_clamp to handle signed src types
Fix the fill_clamp() function to handle signed source types. Make sure
that the source value is always non-negative, and cast it to unsigned
when verifying the upper bound. This fixes compiler warnings about
comparing unsigned and signed types.
Differential Revision: https://reviews.llvm.org/D113519
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h')
0 files changed, 0 insertions, 0 deletions
