XEmacs 21.2.22 "Mercedes".
[chise/xemacs-chise.git.1] / src / md5.c
index acb9f0d..775942a 100644 (file)
--- a/src/md5.c
+++ b/src/md5.c
@@ -582,8 +582,8 @@ file-coding or Mule support.  Otherwise, they are ignored.
   while (1)
     {
       Bufbyte tempbuf[1024];   /* some random amount */
-      int size_in_bytes = Lstream_read (XLSTREAM (instream),
-                                       tempbuf, sizeof (tempbuf));
+      ssize_t size_in_bytes =
+       Lstream_read (XLSTREAM (instream), tempbuf, sizeof (tempbuf));
       if (!size_in_bytes)
        break;