mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-15 05:24:01 +00:00
Don't write into MemoryBuffers.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101783 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -107,7 +107,7 @@ class ArchiveMember : public ilist_node<ArchiveMember> {
|
||||
/// into memory, the return value will be null.
|
||||
/// @returns a pointer to the member's data.
|
||||
/// @brief Get the data content of the archive member
|
||||
const void* getData() const { return data; }
|
||||
const char* getData() const { return data; }
|
||||
|
||||
/// This method determines if the member is a regular compressed file.
|
||||
/// @returns true iff the archive member is a compressed regular file.
|
||||
@ -172,7 +172,7 @@ class ArchiveMember : public ilist_node<ArchiveMember> {
|
||||
sys::PathWithStatus path; ///< Path of file containing the member
|
||||
sys::FileStatus info; ///< Status info (size,mode,date)
|
||||
unsigned flags; ///< Flags about the archive member
|
||||
const void* data; ///< Data for the member
|
||||
const char* data; ///< Data for the member
|
||||
|
||||
/// @}
|
||||
/// @name Constructors
|
||||
|
Reference in New Issue
Block a user