diff options
Diffstat (limited to 'gcc/java/jcf-io.c')
-rw-r--r-- | gcc/java/jcf-io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/java/jcf-io.c b/gcc/java/jcf-io.c index 9dd6853..8cea2ab 100644 --- a/gcc/java/jcf-io.c +++ b/gcc/java/jcf-io.c @@ -79,7 +79,7 @@ DEFUN(jcf_filbuf_from_stdio, (jcf, count), count -= jcf->read_end - jcf->read_ptr; if (count <= 0) return 0; - if (fread (jcf->read_end, 1, count, file) != count) + if ((int) fread (jcf->read_end, 1, count, file) != count) jcf_unexpected_eof (jcf, count); jcf->read_end += count; return 0; |