diff options
author | Ben Laurie <benl@FreeBSD.org> | 2011-06-18 13:56:33 +0000 |
---|---|---|
committer | Ben Laurie <benl@FreeBSD.org> | 2011-06-18 13:56:33 +0000 |
commit | 5f301949ef1a0e2444e6a0b6700c8bcf400498fc (patch) | |
tree | 6edd0c06e1319e9f8e2572723af2f2d72fabda97 /contrib/gperf/src | |
parent | f404863979cd0d00193099825904396d5f30cb34 (diff) | |
download | src-5f301949ef1a0e2444e6a0b6700c8bcf400498fc.tar.gz src-5f301949ef1a0e2444e6a0b6700c8bcf400498fc.zip |
Fix clang warnings.
Approved by: philip (mentor)
Notes
Notes:
svn path=/head/; revision=223262
Diffstat (limited to 'contrib/gperf/src')
-rw-r--r-- | contrib/gperf/src/gen-perf.cc | 2 | ||||
-rw-r--r-- | contrib/gperf/src/key-list.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/contrib/gperf/src/gen-perf.cc b/contrib/gperf/src/gen-perf.cc index 8840dc60040f..7cf9f068b9cf 100644 --- a/contrib/gperf/src/gen-perf.cc +++ b/contrib/gperf/src/gen-perf.cc @@ -246,7 +246,7 @@ Gen_Perf::change (List_Node *prior, List_Node *curr) { if (option[DEBUG]) { - fprintf (stderr, " by changing asso_value['%c'] (char #%zd) to %d\n", + fprintf (stderr, " by changing asso_value['%c'] (char #%td) to %d\n", *p, p - union_set + 1, asso_values[(unsigned char)(*p)]); fflush (stderr); } diff --git a/contrib/gperf/src/key-list.cc b/contrib/gperf/src/key-list.cc index 2461470177c4..11292bc31fab 100644 --- a/contrib/gperf/src/key-list.cc +++ b/contrib/gperf/src/key-list.cc @@ -1441,7 +1441,7 @@ Key_List::output_lookup_array (void) if (option[DEBUG]) fprintf (stderr, - "dup_ptr[%zd]: 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); |