summaryrefslogtreecommitdiff
path: root/include/llvm/Support/MD5.h
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2013-05-31 22:34:34 +0000
committerEric Christopher <echristo@gmail.com>2013-05-31 22:34:34 +0000
commit800e6ee52fd32e0b129cbccd811166d7e215e6ad (patch)
treef8ddfc660753425b7b0703dff0d45183fa6a8f66 /include/llvm/Support/MD5.h
parent35b4cf868e2da677214d97a12d1f34ce6811a088 (diff)
downloadllvm-800e6ee52fd32e0b129cbccd811166d7e215e6ad.tar.gz
llvm-800e6ee52fd32e0b129cbccd811166d7e215e6ad.tar.bz2
llvm-800e6ee52fd32e0b129cbccd811166d7e215e6ad.tar.xz
Move "unsigned char" -> "uint8_t".
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183051 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/MD5.h')
-rw-r--r--include/llvm/Support/MD5.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/llvm/Support/MD5.h b/include/llvm/Support/MD5.h
index 810d44892b..38bdbaebbb 100644
--- a/include/llvm/Support/MD5.h
+++ b/include/llvm/Support/MD5.h
@@ -41,16 +41,16 @@ class MD5 {
MD5_u32plus a, b, c, d;
MD5_u32plus hi, lo;
- unsigned char buffer[64];
+ uint8_t buffer[64];
MD5_u32plus block[16];
public:
- typedef unsigned char MD5Result[16];
+ typedef uint8_t MD5Result[16];
MD5();
/// \brief Updates the hash for arguments provided.
- void update(ArrayRef<unsigned char> Data);
+ void update(ArrayRef<uint8_t> Data);
/// \brief Finishes off the hash and puts the result in result.
void final(MD5Result &result);
@@ -60,7 +60,7 @@ public:
static void stringifyResult(MD5Result &Res, SmallString<32> &Str);
private:
- const unsigned char *body(ArrayRef<unsigned char> Data);
+ const uint8_t *body(ArrayRef<uint8_t> Data);
};
}