summaryrefslogtreecommitdiff
path: root/input.c
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2005-11-13 13:07:52 +0000
committerSimon Tatham <anakin@pobox.com>2005-11-13 13:07:52 +0000
commit87e8a5e8983edf5dc47e0651fddaa0ee89e45dae (patch)
treebac4c153fa6a377bd609dd3ea8be209f7b8b75d0 /input.c
parentf25e2136287e0eb047f7c1dbd2f3b309b22c8dfc (diff)
downloadhalibut-87e8a5e8983edf5dc47e0651fddaa0ee89e45dae.zip
halibut-87e8a5e8983edf5dc47e0651fddaa0ee89e45dae.tar.gz
halibut-87e8a5e8983edf5dc47e0651fddaa0ee89e45dae.tar.bz2
halibut-87e8a5e8983edf5dc47e0651fddaa0ee89e45dae.tar.xz
Just to be on the safe side about avoiding other portability hazards
in future, add `-ansi -pedantic' to the Halibut default compile options and fix the few resulting warnings (mostly signed/unsigned char mismatches and commas at the ends of enums). The one remaining warning I'm still seeing is `missing initializer' for the big table in charset/iso2022.c, but I think the code genuinely is more readable this way, and I haven't found a gcc option to disable that specific warning. [originally from svn r6458]
Diffstat (limited to 'input.c')
-rw-r--r--input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/input.c b/input.c
index 1e132b4..dc44675 100644
--- a/input.c
+++ b/input.c
@@ -610,7 +610,7 @@ static void read_file(paragraph ***ret, input *in, indexdata *idx,
stack_style = 2, /* \e, \c, \cw */
stack_idx = 4, /* \I, \i, \ii */
stack_hyper = 8, /* \W */
- stack_quote = 16, /* \q */
+ stack_quote = 16 /* \q */
} type;
word **whptr; /* to restore from \u alternatives */
word **idximplicit; /* to restore from \u alternatives */