Eliminate the uchar typedef, use unsigned char explicitly
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6283 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Bytecode/Reader/InstructionReader.cpp b/lib/Bytecode/Reader/InstructionReader.cpp
index 2fc52ad..d652af7 100644
--- a/lib/Bytecode/Reader/InstructionReader.cpp
+++ b/lib/Bytecode/Reader/InstructionReader.cpp
@@ -17,7 +17,8 @@
#include "llvm/iPHINode.h"
#include "llvm/iOther.h"
-bool BytecodeParser::ParseRawInst(const uchar *&Buf, const uchar *EndBuf,
+bool BytecodeParser::ParseRawInst(const unsigned char *&Buf,
+ const unsigned char *EndBuf,
RawInst &Result) {
unsigned Op, Typ;
if (read(Buf, EndBuf, Op)) return true;
@@ -113,7 +114,8 @@
}
-bool BytecodeParser::ParseInstruction(const uchar *&Buf, const uchar *EndBuf,
+bool BytecodeParser::ParseInstruction(const unsigned char *&Buf,
+ const unsigned char *EndBuf,
Instruction *&Res,
BasicBlock *BB /*HACK*/) {
RawInst Raw;