summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>2015-04-28 20:35:35 +0200
committerCraig Griffiths <craig.griffiths@codethink.co.uk>2015-08-14 10:19:12 +0100
commit1bc767c1d451203e96c6243972649a7f26d3181d (patch)
tree7cc682ea069307c80c63f1c8cdc85932e38d6845
parent1bf7d9907af320e2c95e2dcf826f30c4c0569701 (diff)
downloadflang-1bc767c1d451203e96c6243972649a7f26d3181d.tar.gz
IdentifierTable: use correct format specifier for unsigned int
-rw-r--r--lib/Basic/IdentifierTable.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Basic/IdentifierTable.cpp b/lib/Basic/IdentifierTable.cpp
index 7f3fbbe3cf..96ee7d39eb 100644
--- a/lib/Basic/IdentifierTable.cpp
+++ b/lib/Basic/IdentifierTable.cpp
@@ -140,13 +140,13 @@ void IdentifierTable::PrintStats() const {
}
fprintf(stderr, "\n*** Identifier Tables Stats:\n");
- fprintf(stderr, "# Identifiers: %d\n", NumIdentifiers);
- fprintf(stderr, "# Empty Buckets: %d\n", NumEmptyBuckets);
+ fprintf(stderr, "# Identifiers: %u\n", NumIdentifiers);
+ fprintf(stderr, "# Empty Buckets: %u\n", NumEmptyBuckets);
fprintf(stderr, "Hash density (#identifiers per bucket): %f\n",
NumIdentifiers / (double)NumBuckets);
fprintf(stderr, "Ave identifier length: %f\n",
(AverageIdentifierSize / (double)NumIdentifiers));
- fprintf(stderr, "Max identifier length: %d\n", MaxIdentifierLength);
+ fprintf(stderr, "Max identifier length: %u\n", MaxIdentifierLength);
// Compute statistics about the memory allocated for identifiers
IdentifierHashTable.getAllocator().PrintStats();