mirror of git://sourceware.org/git/glibc.git
(gconv_fct): Change parameter from `char' to `unsigned char'. (gconv_step_data): Likewise.
This commit is contained in:
parent
488c6a323b
commit
1d0b8e4b8f
|
|
@ -57,8 +57,9 @@ struct gconv_loaded_object;
|
||||||
|
|
||||||
/* Type of a conversion function. */
|
/* Type of a conversion function. */
|
||||||
typedef int (*gconv_fct) __PMT ((struct gconv_step *,
|
typedef int (*gconv_fct) __PMT ((struct gconv_step *,
|
||||||
struct gconv_step_data *, __const char **,
|
struct gconv_step_data *,
|
||||||
__const char *, size_t *, int));
|
__const unsigned char **,
|
||||||
|
__const unsigned char *, size_t *, int));
|
||||||
|
|
||||||
/* Constructor and destructor for local data for conversion step. */
|
/* Constructor and destructor for local data for conversion step. */
|
||||||
typedef int (*gconv_init_fct) __PMT ((struct gconv_step *));
|
typedef int (*gconv_init_fct) __PMT ((struct gconv_step *));
|
||||||
|
|
@ -97,8 +98,8 @@ struct gconv_step
|
||||||
allocated by the `init' function. */
|
allocated by the `init' function. */
|
||||||
struct gconv_step_data
|
struct gconv_step_data
|
||||||
{
|
{
|
||||||
char *outbuf; /* Output buffer for this step. */
|
unsigned char *outbuf; /* Output buffer for this step. */
|
||||||
char *outbufend; /* Address of first byte after the output buffer. */
|
unsigned char *outbufend; /* Address of first byte after the output buffer.*/
|
||||||
|
|
||||||
/* Is this the last module in the chain. */
|
/* Is this the last module in the chain. */
|
||||||
int is_last;
|
int is_last;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue