summaryrefslogtreecommitdiff
path: root/lib/Archive/ArchiveInternals.h
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2010-04-19 16:15:31 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2010-04-19 16:15:31 +0000
commit9d44e702725a534c8e80edce52c7e71f71f37c06 (patch)
tree45d25ae2ef771d9801de0119b21b8cda349bd17d /lib/Archive/ArchiveInternals.h
parent985744ecc606211cb165e231a24a27b7e7835494 (diff)
Don't write into MemoryBuffers.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101783 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Archive/ArchiveInternals.h')
-rw-r--r--lib/Archive/ArchiveInternals.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Archive/ArchiveInternals.h b/lib/Archive/ArchiveInternals.h
index baea544d20b..08f20e74811 100644
--- a/lib/Archive/ArchiveInternals.h
+++ b/lib/Archive/ArchiveInternals.h
@@ -77,7 +77,7 @@ namespace llvm {
std::vector<std::string>& symbols,
std::string* ErrMsg);
- Module* GetBitcodeSymbols(const unsigned char*Buffer,unsigned Length,
+ Module* GetBitcodeSymbols(const char *Buffer, unsigned Length,
const std::string& ModuleID,
LLVMContext& Context,
std::vector<std::string>& symbols,