Const correctness in raw_sha1_ostream (NFC)

From: Mehdi Amini <mehdi.amini@apple.com>
llvm-svn: 265108
This commit is contained in:
Mehdi Amini 2016-04-01 05:12:18 +00:00
parent 4cd5702578
commit 7ef783d1fa
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ class raw_sha1_ostream : public raw_ostream {
/// See raw_ostream::write_impl.
void write_impl(const char *Ptr, size_t Size) override {
State.update(ArrayRef<uint8_t>((uint8_t *)Ptr, Size));
State.update(ArrayRef<uint8_t>((const uint8_t *)Ptr, Size));
}
public: