diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2009-08-04 13:57:41 -0400 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2009-08-04 14:05:37 -0400 |
commit | b2eb172416f9ad32a60bb33a26df6bf40ae69453 (patch) | |
tree | 47dd8e8618c838aaa3fc2c2a3427f26c2d13452c /pango/opentype/main.cc | |
parent | 36c73171738ce9e51c370ad54753a8f882172e75 (diff) | |
download | pango-b2eb172416f9ad32a60bb33a26df6bf40ae69453.tar.gz |
[HB] Fix mix warnings
Diffstat (limited to 'pango/opentype/main.cc')
-rw-r--r-- | pango/opentype/main.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/pango/opentype/main.cc b/pango/opentype/main.cc index 8d766943..90802d99 100644 --- a/pango/opentype/main.cc +++ b/pango/opentype/main.cc @@ -74,7 +74,7 @@ main (int argc, char **argv) printf (" %d table(s) found in font\n", num_tables); for (int n_table = 0; n_table < num_tables; n_table++) { const OpenTypeTable &table = font.get_table (n_table); - printf (" Table %2d of %2d: %.4s (0x%08lx+0x%08lx)\n", n_table, num_tables, + printf (" Table %2d of %2d: %.4s (0x%08x+0x%08x)\n", n_table, num_tables, (const char *)table.tag, (unsigned int) table.offset, (unsigned int) table.length); @@ -112,7 +112,6 @@ main (int argc, char **argv) int num_features = langsys.get_feature_count (); printf (" %d feature(s) found in language system\n", num_features); for (int n_feature = 0; n_feature < num_features; n_feature++) { - unsigned int feature_index = langsys.get_feature_index (n_feature); printf (" Feature index %2d of %2d: %d\n", n_feature, num_features, langsys.get_feature_index (n_feature)); } @@ -130,7 +129,6 @@ main (int argc, char **argv) int num_lookups = feature.get_lookup_count (); printf (" %d lookup(s) found in feature\n", num_lookups); for (int n_lookup = 0; n_lookup < num_lookups; n_lookup++) { - unsigned int lookup_index = feature.get_lookup_index (n_lookup); printf (" Lookup index %2d of %2d: %d\n", n_lookup, num_lookups, feature.get_lookup_index (n_lookup)); } |