Don't write into MemoryBuffers.
[oota-llvm.git] / lib / Archive / ArchiveInternals.h
index baea544d20b8f34ba7779bb0d5847182fc53ea18..08f20e74811ea055f3e6f64a7ebfb1b9c9de7785 100644 (file)
@@ -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,