In contrib/gperf/src/output.cc, use the correct printf length modifier

for a ptrdiff_t.

MFC after:	1 week
This commit is contained in:
Dimitry Andric 2011-12-16 23:15:11 +00:00
parent 9733a9e463
commit cf87966cfd
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=228604

View File

@ -1300,7 +1300,7 @@ Output::output_lookup_array () const
if (option[DEBUG])
fprintf (stderr,
"dup_ptr[%d]: hash_value = %d, index = %d, count = %d\n",
"dup_ptr[%td]: hash_value = %d, index = %d, count = %d\n",
dup_ptr - duplicates,
dup_ptr->hash_value, dup_ptr->index, dup_ptr->count);