mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-13 22:24:07 +00:00
Cleanup compiler warnings on discarding type qualifiers in casts. Switch to C++ style casts.
Patch by Saleem Abdulrasool! Differential Revision: http://llvm-reviews.chandlerc.com/D204 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170917 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -209,7 +209,7 @@ ARMConstantPoolSymbol::ARMConstantPoolSymbol(LLVMContext &C, const char *s,
|
||||
S(strdup(s)) {}
|
||||
|
||||
ARMConstantPoolSymbol::~ARMConstantPoolSymbol() {
|
||||
free((void*)S);
|
||||
free(const_cast<void*>(reinterpret_cast<const void *>(S)));
|
||||
}
|
||||
|
||||
ARMConstantPoolSymbol *
|
||||
|
Reference in New Issue
Block a user