diff options
author | wl <wl> | 2011-10-31 07:25:18 +0000 |
---|---|---|
committer | wl <wl> | 2011-10-31 07:25:18 +0000 |
commit | 826d0960453913eacb9877d858022b48f605831d (patch) | |
tree | 140352c2b0339b542d0d78e75cac9335baa2b984 /src/utils/tfmtodit | |
parent | 8d1beed7085ed4e1d2fbaf9fc77c585f38ac97ad (diff) | |
download | groff-826d0960453913eacb9877d858022b48f605831d.tar.gz |
Fix compiler warnings.
* src/preproc/eqn/main.cpp (do_file), src/roff/troff/env.cpp
(environment::print_env), src/roff/troff/mtsm.cpp
(statem::display_state): Add syntactical sugar.
* src/utils/tfmtodit/tfmtodit.cpp (char_info_word): Use `unsigned
char' for all members.
* src/devices/grohtml/html-text.cpp (html_text::remove_def): Remove
unused variable `q'.
* src/devices/grohtml/post-html.cpp
(html_printer::lookahead_for_tables): Remove unused variable `left'
and `seen_text'.
Diffstat (limited to 'src/utils/tfmtodit')
-rw-r--r-- | src/utils/tfmtodit/tfmtodit.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/utils/tfmtodit/tfmtodit.cpp b/src/utils/tfmtodit/tfmtodit.cpp index 73e5c750..5f5c1d96 100644 --- a/src/utils/tfmtodit/tfmtodit.cpp +++ b/src/utils/tfmtodit/tfmtodit.cpp @@ -1,5 +1,5 @@ // -*- C++ -*- -/* Copyright (C) 1989-1992, 2000, 2001, 2004, 2009 +/* Copyright (C) 1989-1992, 2000, 2001, 2004, 2009, 2011 Free Software Foundation, Inc. Written by James Clark (jjc@jclark.com) @@ -66,10 +66,10 @@ extern "C" const char *Version_string; struct char_info_word { unsigned char width_index; - char height_index; - char depth_index; - char italic_index; - char tag; + unsigned char height_index; + unsigned char depth_index; + unsigned char italic_index; + unsigned char tag; unsigned char remainder; }; |