mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
Fix a warning about the use of const being ignored with a cast.
llvm-svn: 211383
This commit is contained in:
parent
a5f93603cb
commit
a3633377f9
@ -1384,7 +1384,7 @@ std::error_code MachOObjectFile::getLibraryShortNameByIndex(unsigned Index,
|
||||
LibrariesShortNames.push_back(StringRef());
|
||||
continue;
|
||||
}
|
||||
char *P = (char *)(Libraries[i]) + D.dylib.name;
|
||||
const char *P = (const char *)(Libraries[i]) + D.dylib.name;
|
||||
StringRef Name = StringRef(P);
|
||||
StringRef Suffix;
|
||||
bool isFramework;
|
||||
|
Loading…
x
Reference in New Issue
Block a user