mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-11 14:21:10 +02:00
* fports.c (fport_flush): Declare `ptr' as unsigned char (was
char).
This commit is contained in:
parent
4f7d2ad67f
commit
6f760c1dc8
1 changed files with 1 additions and 1 deletions
|
@ -616,7 +616,7 @@ fport_flush (SCM port)
|
||||||
{
|
{
|
||||||
scm_port *pt = SCM_PTAB_ENTRY (port);
|
scm_port *pt = SCM_PTAB_ENTRY (port);
|
||||||
struct scm_fport *fp = SCM_FSTREAM (port);
|
struct scm_fport *fp = SCM_FSTREAM (port);
|
||||||
char *ptr = pt->write_buf;
|
unsigned char *ptr = pt->write_buf;
|
||||||
int init_size = pt->write_pos - pt->write_buf;
|
int init_size = pt->write_pos - pt->write_buf;
|
||||||
int remaining = init_size;
|
int remaining = init_size;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue