forked from OSchip/llvm-project
Fix type mismatch in initialization (caught by -Wliteral-conversion)
llvm-svn: 138736
This commit is contained in:
parent
74231381a3
commit
d6238f4717
|
@ -419,7 +419,7 @@ void PrintDiagnostics(CXTranslationUnit TU) {
|
|||
}
|
||||
|
||||
void PrintMemoryUsage(CXTranslationUnit TU) {
|
||||
unsigned long total = 0.0;
|
||||
unsigned long total = 0;
|
||||
unsigned i = 0;
|
||||
CXTUResourceUsage usage = clang_getCXTUResourceUsage(TU);
|
||||
fprintf(stderr, "Memory usage:\n");
|
||||
|
|
Loading…
Reference in New Issue