1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-10 14:00:21 +02:00

* fports.c (fport_flush): Declare `ptr' as unsigned char (was

char).
This commit is contained in:
Mikael Djurfeldt 2000-06-12 18:13:02 +00:00
parent 4f7d2ad67f
commit 6f760c1dc8

View file

@ -616,7 +616,7 @@ fport_flush (SCM port)
{
scm_port *pt = SCM_PTAB_ENTRY (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 remaining = init_size;