aboutsummaryrefslogtreecommitdiff
path: root/iconv
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-03-15 20:31:13 +0000
committerUlrich Drepper <drepper@redhat.com>1999-03-15 20:31:13 +0000
commit1d0b8e4b8f9c636cfaec78be5ebf819d3d8c2284 (patch)
tree526a49bfdf8b5644610a6845ea367be22813eb43 /iconv
parent488c6a323bcafdb2b5692dd1af0c1492864d206f (diff)
downloadglibc-1d0b8e4b8f9c636cfaec78be5ebf819d3d8c2284.zip
glibc-1d0b8e4b8f9c636cfaec78be5ebf819d3d8c2284.tar.gz
glibc-1d0b8e4b8f9c636cfaec78be5ebf819d3d8c2284.tar.bz2
(gconv_fct): Change parameter from `char' to `unsigned char'. (gconv_step_data): Likewise.
Diffstat (limited to 'iconv')
-rw-r--r--iconv/gconv.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/iconv/gconv.h b/iconv/gconv.h
index 66c34aa..6576b06 100644
--- a/iconv/gconv.h
+++ b/iconv/gconv.h
@@ -57,8 +57,9 @@ struct gconv_loaded_object;
/* Type of a conversion function. */
typedef int (*gconv_fct) __PMT ((struct gconv_step *,
- struct gconv_step_data *, __const char **,
- __const char *, size_t *, int));
+ struct gconv_step_data *,
+ __const unsigned char **,
+ __const unsigned char *, size_t *, int));
/* Constructor and destructor for local data for conversion step. */
typedef int (*gconv_init_fct) __PMT ((struct gconv_step *));
@@ -97,8 +98,8 @@ struct gconv_step
allocated by the `init' function. */
struct gconv_step_data
{
- char *outbuf; /* Output buffer for this step. */
- char *outbufend; /* Address of first byte after the output buffer. */
+ unsigned char *outbuf; /* Output buffer for this step. */
+ unsigned char *outbufend; /* Address of first byte after the output buffer.*/
/* Is this the last module in the chain. */
int is_last;