Fix type mismatch in initialization (caught by -Wliteral-conversion)

llvm-svn: 138736
This commit is contained in:
Matt Beaumont-Gay 2011-08-29 16:37:29 +00:00
parent 74231381a3
commit d6238f4717
1 changed files with 1 additions and 1 deletions

View File

@ -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");