Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Dec 2011 23:15:11 +0000 (UTC)
From:      Dimitry Andric <dim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r228604 - head/contrib/gperf/src
Message-ID:  <201112162315.pBGNFBrJ031274@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dim
Date: Fri Dec 16 23:15:11 2011
New Revision: 228604
URL: http://svn.freebsd.org/changeset/base/228604

Log:
  In contrib/gperf/src/output.cc, use the correct printf length modifier
  for a ptrdiff_t.
  
  MFC after:	1 week

Modified:
  head/contrib/gperf/src/output.cc

Modified: head/contrib/gperf/src/output.cc
==============================================================================
--- head/contrib/gperf/src/output.cc	Fri Dec 16 23:09:31 2011	(r228603)
+++ head/contrib/gperf/src/output.cc	Fri Dec 16 23:15:11 2011	(r228604)
@@ -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);
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201112162315.pBGNFBrJ031274>