mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-09 10:31:14 +00:00
Fix a compiler warning about comparing signed with unsigned.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78933 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2cf89b61b0
commit
c6126e8f7e
@ -222,7 +222,7 @@ raw_ostream &raw_ostream::write(const char *Ptr, size_t Size) {
|
||||
}
|
||||
|
||||
void raw_ostream::copy_to_buffer(const char *Ptr, size_t Size) {
|
||||
assert(Size <= OutBufEnd - OutBufCur && "Buffer overrun!");
|
||||
assert(Size <= size_t(OutBufEnd - OutBufCur) && "Buffer overrun!");
|
||||
|
||||
// Handle short strings specially, memcpy isn't very good at very short
|
||||
// strings.
|
||||
|
Loading…
Reference in New Issue
Block a user