diff options
author | Bruno Haible <bruno@clisp.org> | 2009-12-22 11:57:02 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2009-12-22 11:57:02 +0100 |
commit | b4eb8c5c5ee866fc6d7f824f01d35f1f979f75b9 (patch) | |
tree | 334e7043043b6dbcecffe9cb22eb1aa2dae6f48a /src/output.cc | |
parent | ce9b2f4eb4e75c483bdb914b45f08507a2c3b97d (diff) | |
download | gperf-b4eb8c5c5ee866fc6d7f824f01d35f1f979f75b9.tar.gz |
Avoid g++ warnings.
Diffstat (limited to 'src/output.cc')
-rw-r--r-- | src/output.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/output.cc b/src/output.cc index 2afabe3..4b0e4c6 100644 --- a/src/output.cc +++ b/src/output.cc @@ -1299,8 +1299,8 @@ Output::output_lookup_array () const if (option[DEBUG]) fprintf (stderr, - "dup_ptr[%d]: hash_value = %d, index = %d, count = %d\n", - dup_ptr - duplicates, + "dup_ptr[%lu]: hash_value = %d, index = %d, count = %d\n", + static_cast<unsigned long>(dup_ptr - duplicates), dup_ptr->hash_value, dup_ptr->index, dup_ptr->count); int i; |