[cfe-commits] r138736 - /cfe/trunk/tools/c-index-test/c-index-test.c
Matt Beaumont-Gay
matthewbg at google.com
Mon Aug 29 09:37:29 PDT 2011
Author: matthewbg
Date: Mon Aug 29 11:37:29 2011
New Revision: 138736
URL: http://llvm.org/viewvc/llvm-project?rev=138736&view=rev
Log:
Fix type mismatch in initialization (caught by -Wliteral-conversion)
Modified:
cfe/trunk/tools/c-index-test/c-index-test.c
Modified: cfe/trunk/tools/c-index-test/c-index-test.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/c-index-test/c-index-test.c?rev=138736&r1=138735&r2=138736&view=diff
==============================================================================
--- cfe/trunk/tools/c-index-test/c-index-test.c (original)
+++ cfe/trunk/tools/c-index-test/c-index-test.c Mon Aug 29 11:37:29 2011
@@ -419,7 +419,7 @@
}
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");
More information about the cfe-commits
mailing list