* fports.c (fport_flush): Declare `ptr' as unsigned char (was
authorMikael Djurfeldt <djurfeldt@nada.kth.se>
Mon, 12 Jun 2000 18:13:02 +0000 (18:13 +0000)
committerMikael Djurfeldt <djurfeldt@nada.kth.se>
Mon, 12 Jun 2000 18:13:02 +0000 (18:13 +0000)
char).

libguile/fports.c

index 0632186..e765c77 100644 (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;