summaryrefslogtreecommitdiff
path: root/src/devices/grolbp
diff options
context:
space:
mode:
authorwlemb <wlemb>2003-04-16 21:10:47 +0000
committerwlemb <wlemb>2003-04-16 21:10:47 +0000
commit69306a6a7377a9dce9faefc1b53998959d399ab4 (patch)
tree60d7bd0f158a1e9a462e1c6249fc3757420c2e78 /src/devices/grolbp
parent6b515387b0067a49aff2709cada2b5bacb487519 (diff)
downloadgroff-69306a6a7377a9dce9faefc1b53998959d399ab4.tar.gz
* src/devices/grohtml/post-html.cpp (text_glob::text_glob):
Add `const' to second argument. (html_printer::add_table_end): Add `const' to argument. * src/devices/grohtml/html-text.cpp (html_text::issue_tag): Add `const' to arguments. * src/devices/grohtml/html-text.h: Updated. * src/devices/grolbp/charset.h (symset): Use `unsigned char'. * src/devices/grolbp/lbp.h (lbpputc): Use `unsigned char' for argument. * src/devices/grotty/tty.cpp (tty_printer::make_rgb_string): Use cast for integer constant. * src/preproc/html/pre-html.cpp (image_device): Use `const'. (writeNbytes): Add `const' to first argument. (writeString): Add `const' to argument. (char_buffer::can_see): Add `const' to third argument. * src/preproc/html/pushback.cpp (pushBackBuffer::isString): Add `const' to argument. * src/preproc/html/pushback.h: Updated. * src/preproc/soelim/soelim.cpp (include_list): Add `const'. (include_path_append): Add `const' to argument. (do_file): Updated. * src/roff/troff/uniglyph.cpp (unicode_to_glyph_list): Use `const' for `value'. (unicode_to_glyph_init::unicode_to_glyph_init): Updated. * src/roff/troff/uniuni.cpp (unicode_decompose_list): Use `const' for `value'. (unicode_decompose_init::unicode_decompose_init): Updated. * src/roff/troff/glyphuni.cpp (glyph_to_unicode_list): Use `const' for `value'. (glyph_to_unicode_init::glyph_to_unicode_init): Updated. * src/roff/troff/input.cc (process_startup_file): Add `const' to argument.
Diffstat (limited to 'src/devices/grolbp')
-rw-r--r--src/devices/grolbp/charset.h2
-rw-r--r--src/devices/grolbp/lbp.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/grolbp/charset.h b/src/devices/grolbp/charset.h
index adc76f42..a0cd057b 100644
--- a/src/devices/grolbp/charset.h
+++ b/src/devices/grolbp/charset.h
@@ -1,6 +1,6 @@
// Definition of the WP54 character set
-char symset[] = {
+unsigned char symset[] = {
0x57,0x50,0x35,0x34,0x00,0x41,0x76,0x61,0x6e,0x74,0x47,0x61,
0x72,0x64,0x65,0x2d,0x42,0x6f,0x6f,0x6b,0x00,0x41,0x76,
0x61,0x6e,0x74,0x47,0x61,0x72,0x64,0x65,0x2d,0x44,0x65,
diff --git a/src/devices/grolbp/lbp.h b/src/devices/grolbp/lbp.h
index 3b8a9410..e669ff2a 100644
--- a/src/devices/grolbp/lbp.h
+++ b/src/devices/grolbp/lbp.h
@@ -1,5 +1,5 @@
// -*- C -*-
-/* Copyright (C) 1994, 2000, 2001 Free Software Foundation, Inc.
+/* Copyright (C) 1994, 2000, 2001, 2003 Free Software Foundation, Inc.
Written by Francisco Andrés Verdú <pandres@dragonet.es>
groff is free software; you can redistribute it and/or modify it under
@@ -52,7 +52,7 @@ lbpputs(const char *data)
};
static inline void
-lbpputc(char c)
+lbpputc(unsigned char c)
{
fputc(c,lbpoutput);
};